GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
Main Page
Related Pages
+
Data Structures
Data Structures
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
z
+
Enumerations
a
c
d
e
h
l
m
n
o
p
r
s
t
v
y
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
driver/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
switch
(
font_get_type
()) {
7
case
GFONT_STROKE
:
8
soft_text
(text);
9
break
;
10
case
GFONT_FREETYPE
:
11
soft_text_freetype
(text);
12
break
;
13
case
GFONT_DRIVER
:
14
if
(
driver
->
Text
)
15
(*
driver
->
Text
)(text);
16
break
;
17
}
18
}
19
font_get_type
int font_get_type(void)
Definition:
font.c:29
driver.h
GFONT_STROKE
#define GFONT_STROKE
Definition:
fontcap.h:14
COM_Text
void COM_Text(const char *text)
Definition:
driver/text.c:4
driver::Text
void(* Text)(const char *)
Definition:
driver.h:50
GFONT_FREETYPE
#define GFONT_FREETYPE
Definition:
fontcap.h:15
soft_text
void soft_text(const char *)
Definition:
text2.c:108
soft_text_freetype
void soft_text_freetype(const char *)
Definition:
text3.c:264
driver
Definition:
driver.h:22
GFONT_DRIVER
#define GFONT_DRIVER
Definition:
fontcap.h:16
driverlib.h
lib
driver
text.c
Generated on Mon May 31 2021 05:21:32 for GRASS GIS 7 Programmer's Manual by
1.8.13