GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
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
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
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
text_size.c
Go to the documentation of this file.
1
#include <math.h>
2
#include "
driver.h
"
3
#include "
driverlib.h
"
4
5
void
COM_Text_size
(
double
x
,
double
y)
6
{
7
text_size_x
=
x
;
8
text_size_y
= y;
9
matrix_valid
= 0;
10
}
11
12
void
COM_Text_rotation
(
double
val)
13
{
14
text_rotation
= val;
15
text_sinrot
= sin(
M_PI
*
text_rotation
/ 180.0);
16
text_cosrot
= cos(
M_PI
*
text_rotation
/ 180.0);
17
matrix_valid
= 0;
18
}
driver.h
text_rotation
GRASS_DRIVER_EXPORT double text_rotation
Definition:
driver/init.c:37
text_size_x
GRASS_DRIVER_EXPORT double text_size_x
Definition:
driver/init.c:35
text_cosrot
double text_cosrot
Definition:
driver/init.c:39
text_sinrot
double text_sinrot
Definition:
driver/init.c:38
text_size_y
GRASS_DRIVER_EXPORT double text_size_y
Definition:
driver/init.c:36
matrix_valid
GRASS_DRIVER_EXPORT int matrix_valid
Definition:
driver/init.c:40
driverlib.h
M_PI
#define M_PI
Definition:
gis.h:158
COM_Text_rotation
void COM_Text_rotation(double val)
Definition:
text_size.c:12
COM_Text_size
void COM_Text_size(double x, double y)
Definition:
text_size.c:5
x
#define x
lib
driver
text_size.c
Generated on Thu Mar 20 2025 07:33:30 for GRASS GIS 8 Programmer's Manual by
1.9.1