Loading...
Searching...
No Matches
htmldriver/draw.c
Go to the documentation of this file.
#include <grass/gis.h>
#include "path.h"
#include "htmlmap.h"
static struct path path;
void HTML_Begin(void)
{
path_begin(&path);
}
void HTML_Move(double x, double y)
{
path_move(&path, x, y);
}
void HTML_Cont(double x, double y)
{
path_cont(&path, x, y);
}
void HTML_Close(void)
{
path_close(&path);
}
void HTML_Fill(void)
{
html_polygon(&path);
}
void HTML_Stroke(void)
{
path_reset(&path);
}
HTML_Close
void HTML_Close(void)
Definition htmldriver/draw.c:22
HTML_Begin
void HTML_Begin(void)
Definition htmldriver/draw.c:7
HTML_Stroke
void HTML_Stroke(void)
Definition htmldriver/draw.c:32
HTML_Move
void HTML_Move(double x, double y)
Definition htmldriver/draw.c:12
HTML_Cont
void HTML_Cont(double x, double y)
Definition htmldriver/draw.c:17
HTML_Fill
void HTML_Fill(void)
Definition htmldriver/draw.c:27
htmlmap.h
html_polygon
void html_polygon(const struct path *)
Definition htmldriver/polygon.c:51
path_close
void path_close(struct path *p)
Definition path.c:83
path_reset
void path_reset(struct path *p)
Definition path.c:31
path_begin
void path_begin(struct path *p)
Definition path.c:66
path_cont
void path_cont(struct path *p, double x, double y)
Definition path.c:78
path_move
void path_move(struct path *p, double x, double y)
Definition path.c:72
path.h
path
Definition path.h:15
x
#define x