GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
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 12 of file htmlmap.h.

◆ CLIENT

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

Definition at line 14 of file htmlmap.h.

◆ DEF_MAXPTS

#define DEF_MAXPTS   99

Definition at line 6 of file htmlmap.h.

◆ DEF_MINBBOX

#define DEF_MINBBOX   2

Definition at line 4 of file htmlmap.h.

◆ DEF_MINDIST

#define DEF_MINDIST   2

Definition at line 5 of file htmlmap.h.

◆ FILE_NAME

#define FILE_NAME   "htmlmap"

Definition at line 8 of file htmlmap.h.

◆ INITIAL_TEXT

#define INITIAL_TEXT   1000

Definition at line 10 of file htmlmap.h.

◆ NCSA

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

Definition at line 13 of file htmlmap.h.

◆ RAW

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

Definition at line 15 of file htmlmap.h.

Function Documentation

◆ HTML_Begin()

void HTML_Begin ( void  )

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

References path_begin().

◆ HTML_Box()

void HTML_Box ( double  x1,
double  y1,
double  x2,
double  y2 
)

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

◆ HTML_Close()

void HTML_Close ( void  )

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

References path_close().

◆ HTML_Cont()

void HTML_Cont ( double  x,
double  y 
)

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

References path_cont(), and x.

◆ 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 27 of file htmldriver/draw.c.

References html_polygon().

◆ HTML_Graph_close()

void HTML_Graph_close ( void  )

Definition at line 28 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  x,
double  y 
)

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

References path_move(), and x.

◆ html_polygon()

void html_polygon ( const struct path p)

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

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

Referenced by HTML_Fill().

◆ HTML_Stroke()

void HTML_Stroke ( void  )

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

References path_reset().

◆ HTML_Text()

void HTML_Text ( const char *  text)

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

Variable Documentation

◆ html

struct html_state html
extern

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

Referenced by html_polygon().