GRASS GIS 8 Programmer's Manual
8.3.2(2024)-exported
Loading...
Searching...
No Matches
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
}
COM_Text
void COM_Text(const char *text)
Definition
driver/text.c:4
driver.h
driverlib.h
soft_text
void soft_text(const char *)
Definition
text2.c:108
font_get_type
int font_get_type(void)
Definition
font.c:29
soft_text_freetype
void soft_text_freetype(const char *)
Definition
text3.c:264
driver
Definition
driver.h:21
driver::Text
void(* Text)(const char *)
Definition
driver.h:45
driver
text.c
Generated on Fri May 24 2024 09:06:59 for GRASS GIS 8 Programmer's Manual by
1.9.8