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