GRASS GIS 7 Programmer's Manual
7.0.3(2016)-r00000
|
Go to the source code of this file.
Data Structures | |
struct | MapPoly |
struct | html_state |
Macros | |
#define | DEF_MINBBOX 2 |
#define | DEF_MINDIST 2 |
#define | DEF_MAXPTS 99 |
#define | FILE_NAME "htmlmap" |
#define | INITIAL_TEXT 1000 |
#define | APACHE 0 /* write output in apache/ncsa server image map format */ |
#define | NCSA 0 /* write output in apache/ncsa server image map format */ |
#define | CLIENT 1 /* write output in netscape client side image map format */ |
#define | RAW 2 /* write output in raw format */ |
Functions | |
void | HTML_Begin (void) |
void | HTML_Move (double, double) |
void | HTML_Cont (double, double) |
void | HTML_Close (void) |
void | HTML_Fill (void) |
void | HTML_Stroke (void) |
const struct driver * | HTML_Driver (void) |
void | HTML_Graph_close (void) |
int | HTML_Graph_set (void) |
void | HTML_Box (double, double, double, double) |
void | html_polygon (const struct path *) |
void | HTML_Text (const char *) |
Variables | |
struct html_state | html |
#define APACHE 0 /* write output in apache/ncsa server image map format */ |
Definition at line 13 of file htmlmap.h.
Referenced by HTML_Graph_close(), and HTML_Graph_set().
#define CLIENT 1 /* write output in netscape client side image map format */ |
Definition at line 15 of file htmlmap.h.
Referenced by HTML_Graph_close(), and HTML_Graph_set().
#define DEF_MAXPTS 99 |
Definition at line 7 of file htmlmap.h.
Referenced by HTML_Graph_set().
#define DEF_MINBBOX 2 |
Definition at line 5 of file htmlmap.h.
Referenced by HTML_Graph_set().
#define DEF_MINDIST 2 |
Definition at line 6 of file htmlmap.h.
Referenced by HTML_Graph_set().
#define FILE_NAME "htmlmap" |
Definition at line 9 of file htmlmap.h.
Referenced by HTML_Graph_set(), PNG_Graph_set(), and PS_Graph_set().
#define INITIAL_TEXT 1000 |
Definition at line 11 of file htmlmap.h.
Referenced by HTML_Graph_set().
#define NCSA 0 /* write output in apache/ncsa server image map format */ |
#define RAW 2 /* write output in raw format */ |
Definition at line 16 of file htmlmap.h.
Referenced by HTML_Graph_close(), and HTML_Graph_set().
void HTML_Begin | ( | void | ) |
Definition at line 8 of file htmldriver/draw.c.
References path_begin().
Referenced by HTML_Box(), and HTML_Driver().
void HTML_Box | ( | double | , |
double | , | ||
double | , | ||
double | |||
) |
Definition at line 3 of file htmldriver/box.c.
References HTML_Begin(), HTML_Cont(), HTML_Fill(), and HTML_Move().
Referenced by HTML_Driver().
void HTML_Close | ( | void | ) |
Definition at line 23 of file htmldriver/draw.c.
References path_close().
Referenced by HTML_Driver().
void HTML_Cont | ( | double | , |
double | |||
) |
Definition at line 18 of file htmldriver/draw.c.
References path_cont().
Referenced by HTML_Box(), and HTML_Driver().
const struct driver* HTML_Driver | ( | void | ) |
Definition at line 20 of file htmldriver/driver.c.
References driver::Begin, driver::Begin_raster, driver::Bitmap, driver::Box, driver::Close, driver::Color, driver::Cont, driver::End_raster, driver::Erase, driver::Fill, driver::Font_info, driver::Font_list, driver::Graph_close, driver::Graph_get_file, driver::Graph_set, HTML_Begin(), HTML_Box(), HTML_Close(), HTML_Cont(), HTML_Fill(), HTML_Graph_close(), HTML_Graph_set(), HTML_Move(), HTML_Stroke(), HTML_Text(), driver::Line_width, driver::Move, driver::name, NULL, driver::Point, driver::Raster, driver::Set_font, driver::Set_window, driver::Stroke, driver::Text, and driver::Text_box.
void HTML_Fill | ( | void | ) |
Definition at line 28 of file htmldriver/draw.c.
References html_polygon().
Referenced by HTML_Box(), and HTML_Driver().
void HTML_Graph_close | ( | void | ) |
Definition at line 32 of file graph_clse.c.
References APACHE, CLIENT, html_state::head, html, MapPoly::next_poly, NULL, MapPoly::num_pts, html_state::output, RAW, screen_height, screen_width, html_state::type, MapPoly::url, MapPoly::x_pts, and MapPoly::y_pts.
Referenced by HTML_Driver().
int HTML_Graph_set | ( | void | ) |
Definition at line 26 of file htmldriver/graph_set.c.
References APACHE, html_state::BBOX_MINIMUM, CLIENT, DEF_MAXPTS, DEF_MINBBOX, DEF_MINDIST, FILE_NAME, G_fatal_error(), G_verbose_message(), html_state::head, html, INITIAL_TEXT, html_state::last_text, html_state::last_text_len, html_state::MAX_POINTS, html_state::MINIMUM_DIST, NULL, html_state::output, RAW, screen_height, screen_width, html_state::tail, and html_state::type.
Referenced by HTML_Driver().
void HTML_Move | ( | double | , |
double | |||
) |
Definition at line 13 of file htmldriver/draw.c.
References path_move().
Referenced by HTML_Box(), and HTML_Driver().
void html_polygon | ( | const struct path * | ) |
Definition at line 54 of file htmldriver/polygon.c.
References html_state::BBOX_MINIMUM, path::count, G_free(), G_store(), html, html_state::last_text, html_state::MAX_POINTS, html_state::MINIMUM_DIST, NULL, MapPoly::num_pts, html_state::tail, path::vertices, vertex::x, and vertex::y.
Referenced by HTML_Fill().
void HTML_Stroke | ( | void | ) |
Definition at line 33 of file htmldriver/draw.c.
References path_reset().
Referenced by HTML_Driver().
void HTML_Text | ( | const char * | ) |
Definition at line 10 of file htmldriver/text.c.
References G_free(), html, html_state::last_text, and html_state::last_text_len.
Referenced by HTML_Driver().
struct html_state html |
Definition at line 24 of file htmldriver/graph_set.c.
Referenced by HTML_Graph_close(), HTML_Graph_set(), html_polygon(), and HTML_Text().