GRASS Programmer's Manual
6.4.4(2014)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
Text.c
Go to the documentation of this file.
1
#include "
driver.h
"
2
#include "
driverlib.h
"
3
4
void
COM_Text
(
const
char
*text)
5
{
6
if
(
driver
->
draw_text
) {
7
(*
driver
->
draw_text
) (text);
8
return
;
9
}
10
11
if
(!
font_is_freetype
())
12
soft_text
(
cur_x
,
cur_y
,
text_size_x
,
text_size_y
,
text_rotation
,
13
text);
14
else
15
soft_text_freetype
(
cur_x
,
cur_y
,
text_size_x
,
text_size_y
,
16
text_rotation
, text);
17
}
cur_y
int cur_y
Definition:
driver/init.c:38
text_size_y
double text_size_y
Definition:
driver/init.c:41
COM_Text
void COM_Text(const char *text)
Definition:
Text.c:4
driver.h
driver::draw_text
void(* draw_text)(const char *)
Definition:
driver.h:63
text_rotation
double text_rotation
Definition:
driver/init.c:42
text_size_x
double text_size_x
Definition:
driver/init.c:40
soft_text
void soft_text(int, int, double, double, double, const char *)
Definition:
text2.c:139
soft_text_freetype
void soft_text_freetype(int, int, double, double, double, const char *)
Definition:
text3.c:268
cur_x
int cur_x
Definition:
driver/init.c:37
driver
Definition:
driver.h:25
driverlib.h
font_is_freetype
int font_is_freetype(void)
Definition:
Font.c:57
lib
driver
Text.c
Generated on Fri Sep 5 2014 08:29:37 for GRASS Programmer's Manual by
1.8.8