GRASS Programmer's Manual  6.4.2(2012)
Get_t_box.c
Go to the documentation of this file.
00001 #include "driver.h"
00002 #include "driverlib.h"
00003 
00004 void COM_Get_text_box(const char *text, int *t, int *b, int *l, int *r)
00005 {
00006     if (!font_is_freetype()) {
00007         soft_text_ext(cur_x, cur_y,
00008                       text_size_x, text_size_y, text_rotation, text);
00009         get_text_ext(t, b, l, r);
00010     }
00011     else {
00012         soft_text_ext_freetype(cur_x, cur_y,
00013                                text_size_x, text_size_y, text_rotation, text);
00014         get_text_ext_freetype(t, b, l, r);
00015     }
00016 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines