Loading...
Searching...
No Matches
text_size.c
Go to the documentation of this file.
#include <math.h>
#include "driver.h"
#include "driverlib.h"
void COM_Text_size(double x, double y)
{
text_size_x = x;
text_size_y = y;
matrix_valid = 0;
}
void COM_Text_rotation(double val)
{
text_rotation = val;
text_sinrot = sin(M_PI * text_rotation / 180.0);
text_cosrot = cos(M_PI * text_rotation / 180.0);
matrix_valid = 0;
}
driver.h
text_size_y
double text_size_y
Definition driver/init.c:36
text_rotation
double text_rotation
Definition driver/init.c:37
matrix_valid
int matrix_valid
Definition driver/init.c:40
text_cosrot
double text_cosrot
Definition driver/init.c:39
text_size_x
double text_size_x
Definition driver/init.c:35
text_sinrot
double text_sinrot
Definition driver/init.c:38
driverlib.h
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