GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Go to the source code of this file.
Functions | |
void | path_init (struct path *p) |
void | path_free (struct path *p) |
void | path_alloc (struct path *p, int n) |
void | path_reset (struct path *p) |
void | path_append (struct path *p, double x, double y, int mode) |
void | path_copy (struct path *dst, const struct path *src) |
void | path_begin (struct path *p) |
void | path_move (struct path *p, double x, double y) |
void | path_cont (struct path *p, double x, double y) |
void | path_close (struct path *p) |
void | path_stroke (struct path *p, void(*line)(double, double, double, double)) |
void path_alloc | ( | struct path * | p, |
int | n | ||
) |
Definition at line 23 of file driver/path.c.
References path::alloc, G_realloc, and path::vertices.
void path_append | ( | struct path * | p, |
double | x, | ||
double | y, | ||
int | mode | ||
) |
Definition at line 38 of file driver/path.c.
Referenced by path_close(), path_cont(), and path_move().
void path_begin | ( | struct path * | p | ) |
Definition at line 67 of file driver/path.c.
References path::count, and path::start.
Referenced by D_begin(), HTML_Begin(), and PNG_Begin().
void path_close | ( | struct path * | p | ) |
Definition at line 84 of file driver/path.c.
References P_CLOSE, path_append(), path::start, path::vertices, vertex::x, and vertex::y.
Referenced by D_close(), HTML_Close(), PNG_Close(), and png_polygon().
void path_cont | ( | struct path * | p, |
double | x, | ||
double | y | ||
) |
Definition at line 79 of file driver/path.c.
References P_CONT, and path_append().
Referenced by D_cont_abs(), HTML_Cont(), and PNG_Cont().
Definition at line 52 of file driver/path.c.
void path_free | ( | struct path * | p | ) |
Definition at line 13 of file driver/path.c.
References path::alloc, path::count, G_free(), path::start, and path::vertices.
void path_init | ( | struct path * | p | ) |
Definition at line 5 of file driver/path.c.
References path::alloc, path::count, NULL, path::start, and path::vertices.
Referenced by D__clip_path(), and D__cull_path().
void path_move | ( | struct path * | p, |
double | x, | ||
double | y | ||
) |
Definition at line 73 of file driver/path.c.
References path::count, P_MOVE, path_append(), and path::start.
Referenced by D_move_abs(), HTML_Move(), and PNG_Move().
void path_reset | ( | struct path * | p | ) |
Definition at line 32 of file driver/path.c.
References path::count, and path::start.
Referenced by HTML_Stroke().
void path_stroke | ( | struct path * | p, |
void(*)(double, double, double, double) | line | ||
) |
Definition at line 97 of file driver/path.c.
Referenced by PNG_Stroke().