GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
htmldriver/draw.c
Go to the documentation of this file.
1 #include <grass/gis.h>
2 #include "path.h"
3 #include "htmlmap.h"
4 
5 static struct path path;
6 
7 void HTML_Begin(void)
8 {
10 }
11 
12 void HTML_Move(double x, double y)
13 {
14  path_move(&path, x, y);
15 }
16 
17 void HTML_Cont(double x, double y)
18 {
19  path_cont(&path, x, y);
20 }
21 
22 void HTML_Close(void)
23 {
24  path_close(&path);
25 }
26 
27 void HTML_Fill(void)
28 {
30 }
31 
32 void HTML_Stroke(void)
33 {
34  path_reset(&path);
35 }
void path_close(struct path *p)
Definition: driver/path.c:83
void path_reset(struct path *p)
Definition: driver/path.c:31
void path_begin(struct path *p)
Definition: driver/path.c:66
void path_cont(struct path *p, double x, double y)
Definition: driver/path.c:78
void path_move(struct path *p, double x, double y)
Definition: driver/path.c:72
void HTML_Close(void)
void HTML_Begin(void)
void HTML_Stroke(void)
void HTML_Move(double x, double y)
void HTML_Cont(double x, double y)
void HTML_Fill(void)
void html_polygon(const struct path *)
Definition: path.h:15
#define x