GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
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 | drawchar (double text_size_x, double text_size_y, double sinrot, double cosrot, unsigned char character) |
void | soft_text_ext (int x, int y, double text_size_x, double text_size_y, double text_rotation, const char *string) |
void | get_text_ext (int *top, int *bot, int *left, int *rite) |
void | soft_text (int x, int y, double text_size_x, double text_size_y, double text_rotation, const char *string) |
void | onechar (int x, int y, double text_size_x, double text_size_y, double text_rotation, unsigned char achar) |
#define D2R | ( | d | ) | (double)(d * RpD) /* degrees->radians */ |
Definition at line 137 of file text2.c.
Referenced by onechar(), and soft_text().
void drawchar | ( | double | text_size_x, |
double | text_size_y, | ||
double | sinrot, | ||
double | cosrot, | ||
unsigned char | character | ||
) |
Definition at line 60 of file text2.c.
References get_char_vects(), int, X, y, and Y.
Referenced by onechar(), and soft_text().
void onechar | ( | int | x, |
int | y, | ||
double | text_size_x, | ||
double | text_size_y, | ||
double | text_rotation, | ||
unsigned char | achar | ||
) |
Definition at line 156 of file text2.c.
References D2R, and drawchar().
void soft_text | ( | int | x, |
int | y, | ||
double | text_size_x, | ||
double | text_size_y, | ||
double | text_rotation, | ||
const char * | string | ||
) |
Definition at line 139 of file text2.c.
References D2R, and drawchar().
Referenced by COM_Text(), and soft_text_ext().
void soft_text_ext | ( | int | x, |
int | y, | ||
double | text_size_x, | ||
double | text_size_y, | ||
double | text_rotation, | ||
const char * | string | ||
) |
Definition at line 115 of file text2.c.
References b, l, r, and soft_text().
Referenced by COM_Get_text_box().