GRASS Programmer's Manual  6.4.2(2012)
Text.c
Go to the documentation of this file.
00001 #include "driver.h"
00002 #include "driverlib.h"
00003 
00004 void COM_Text(const char *text)
00005 {
00006     if (driver->draw_text) {
00007         (*driver->draw_text) (text);
00008         return;
00009     }
00010 
00011     if (!font_is_freetype())
00012         soft_text(cur_x, cur_y, text_size_x, text_size_y, text_rotation,
00013                   text);
00014     else
00015         soft_text_freetype(cur_x, cur_y, text_size_x, text_size_y,
00016                            text_rotation, text);
00017 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines