GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
|
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/symbol.h>
Go to the source code of this file.
Macros | |
#define | PI M_PI |
Functions | |
void | add_coor (SYMBCHAIN *chain, double x, double y) |
int | stroke_chain (SYMBPART *part, int ch, double s, double rotation) |
void | S_stroke (SYMBOL *Symb, double size, double rotation, int tolerance) |
Stroke symbol to form used for Xdriver. | |
void add_coor | ( | SYMBCHAIN * | chain, |
double | x, | ||
double | y | ||
) |
void S_stroke | ( | SYMBOL * | Symb, |
double | size, | ||
double | rotation, | ||
int | tolerance | ||
) |
Stroke symbol to form used for Xdriver.
tolerance currently not supported
Symb | pointer to |
size | symbol size |
rotation | symbol rotation, degrees CCW from East |
tolerance | currently not supported |
Definition at line 158 of file stroke.c.
References G_debug(), and stroke_chain().
int stroke_chain | ( | SYMBPART * | part, |
int | ch, | ||
double | s, | ||
double | rotation | ||
) |
Definition at line 44 of file stroke.c.
References add_coor(), G_debug(), G_rotate_around_point(), l, PI, r, and x.
Referenced by S_stroke().