GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
htmlmap.h File Reference
#include <stdio.h>
#include "path.h"
Include dependency graph for htmlmap.h:
This graph shows which files directly or indirectly include this file:

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 driverHTML_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
 

Macro Definition Documentation

◆ APACHE

#define APACHE   0 /* write output in apache/ncsa server image map format */

Definition at line 13 of file htmlmap.h.

◆ CLIENT

#define CLIENT   1 /* write output in netscape client side image map format */

Definition at line 15 of file htmlmap.h.

◆ DEF_MAXPTS

#define DEF_MAXPTS   99

Definition at line 7 of file htmlmap.h.

◆ DEF_MINBBOX

#define DEF_MINBBOX   2

Definition at line 5 of file htmlmap.h.

◆ DEF_MINDIST

#define DEF_MINDIST   2

Definition at line 6 of file htmlmap.h.

◆ FILE_NAME

#define FILE_NAME   "htmlmap"

Definition at line 9 of file htmlmap.h.

Referenced by PNG_Graph_set(), and PS_Graph_set().

◆ INITIAL_TEXT

#define INITIAL_TEXT   1000

Definition at line 11 of file htmlmap.h.

◆ NCSA

#define NCSA   0 /* write output in apache/ncsa server image map format */

Definition at line 14 of file htmlmap.h.

◆ RAW

#define RAW   2 /* write output in raw format */

Definition at line 16 of file htmlmap.h.

Function Documentation

◆ HTML_Begin()

void HTML_Begin ( void  )

Definition at line 8 of file htmldriver/draw.c.

References path_begin().

◆ HTML_Box()

void HTML_Box ( double  ,
double  ,
double  ,
double   
)

Definition at line 3 of file htmldriver/box.c.

◆ HTML_Close()

void HTML_Close ( void  )

Definition at line 23 of file htmldriver/draw.c.

References path_close().

◆ HTML_Cont()

void HTML_Cont ( double  ,
double   
)

Definition at line 18 of file htmldriver/draw.c.

References path_cont().

◆ HTML_Driver()

const struct driver* HTML_Driver ( void  )

Definition at line 20 of file htmldriver/driver.c.

◆ HTML_Fill()

void HTML_Fill ( void  )

Definition at line 28 of file htmldriver/draw.c.

References html_polygon().

◆ HTML_Graph_close()

void HTML_Graph_close ( void  )

Definition at line 32 of file graph_clse.c.

◆ HTML_Graph_set()

int HTML_Graph_set ( void  )

Definition at line 26 of file htmldriver/graph_set.c.

◆ HTML_Move()

void HTML_Move ( double  ,
double   
)

Definition at line 13 of file htmldriver/draw.c.

References path_move().

◆ html_polygon()

void html_polygon ( const struct path )

Definition at line 54 of file htmldriver/polygon.c.

References path::count, G_malloc, html, html_state::MINIMUM_DIST, path::vertices, vertex::x, x, and vertex::y.

Referenced by HTML_Fill().

◆ HTML_Stroke()

void HTML_Stroke ( void  )

Definition at line 33 of file htmldriver/draw.c.

References path_reset().

◆ HTML_Text()

void HTML_Text ( const char *  )

Definition at line 10 of file htmldriver/text.c.

Variable Documentation

◆ html

struct html_state html

Definition at line 24 of file htmldriver/graph_set.c.

Referenced by html_polygon().