GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
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
}
text_size_y
double text_size_y
Definition:
driver/init.c:36
driver.h
text_sinrot
double text_sinrot
Definition:
driver/init.c:38
M_PI
#define M_PI
Definition:
gis.h:144
x
#define x
text_rotation
double text_rotation
Definition:
driver/init.c:37
text_size_x
double text_size_x
Definition:
driver/init.c:35
COM_Text_size
void COM_Text_size(double x, double y)
Definition:
text_size.c:5
COM_Text_rotation
void COM_Text_rotation(double val)
Definition:
text_size.c:12
matrix_valid
int matrix_valid
Definition:
driver/init.c:40
driverlib.h
text_cosrot
double text_cosrot
Definition:
driver/init.c:39
lib
driver
text_size.c
Generated on Tue Feb 14 2023 05:56:02 for GRASS GIS 8 Programmer's Manual by
1.8.13