GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Get_t_box.c
Go to the documentation of this file.
1 #include "driver.h"
2 #include "driverlib.h"
3 
4 void COM_Get_text_box(const char *text, int *t, int *b, int *l, int *r)
5 {
6  if (!font_is_freetype()) {
9  get_text_ext(t, b, l, r);
10  }
11  else {
14  get_text_ext_freetype(t, b, l, r);
15  }
16 }
int cur_y
Definition: driver/init.c:38
void get_text_ext(int *, int *, int *, int *)
Definition: text2.c:128
double text_size_y
Definition: driver/init.c:41
int l
Definition: dataquad.c:292
float b
Definition: named_colr.c:8
void get_text_ext_freetype(int *, int *, int *, int *)
Definition: text3.c:298
float r
Definition: named_colr.c:8
double text_rotation
Definition: driver/init.c:42
double text_size_x
Definition: driver/init.c:40
void soft_text_ext(int x, int, double, double, double, const char *)
Definition: text2.c:115
void COM_Get_text_box(const char *, int *, int *, int *, int *)
Definition: Get_t_box.c:4
int cur_x
Definition: driver/init.c:37
int font_is_freetype(void)
Definition: Font.c:57
void soft_text_ext_freetype(int, int, double, double, double, const char *)
Definition: text3.c:277