GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
text3.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <grass/config.h>
#include <grass/gis.h>
#include "driver.h"
#include "driverlib.h"
Include dependency graph for text3.c:

Go to the source code of this file.

Macros

#define RpD   ((2 * M_PI) / 360.) /* radians/degree */
 
#define D2R(d)   (double)(d * RpD) /* degrees->radians */
 

Functions

void soft_text_freetype (int x, int y, double text_size_x, double text_size_y, double text_rotation, const char *string)
 
void soft_text_ext_freetype (int x, int y, double text_size_x, double text_size_y, double text_rotation, const char *string)
 
void get_text_ext_freetype (int *top, int *bot, int *left, int *rite)
 

Macro Definition Documentation

#define D2R (   d)    (double)(d * RpD) /* degrees->radians */

Definition at line 24 of file text3.c.

#define RpD   ((2 * M_PI) / 360.) /* radians/degree */

Definition at line 23 of file text3.c.

Function Documentation

void get_text_ext_freetype ( int top,
int bot,
int left,
int rite 
)

Definition at line 298 of file text3.c.

Referenced by COM_Get_text_box().

void soft_text_ext_freetype ( int  x,
int  y,
double  text_size_x,
double  text_size_y,
double  text_rotation,
const char *  string 
)

Definition at line 277 of file text3.c.

Referenced by COM_Get_text_box().

void soft_text_freetype ( int  x,
int  y,
double  text_size_x,
double  text_size_y,
double  text_rotation,
const char *  string 
)

Definition at line 268 of file text3.c.

Referenced by COM_Text().