PostGIS  2.4.9dev-r@@SVN_REVISION@@
lwout_svg.c File Reference

SVG output routines. More...

Include dependency graph for lwout_svg.c:

Go to the source code of this file.

Functions

static char * assvg_point (const LWPOINT *point, int relative, int precision)
 
static char * assvg_line (const LWLINE *line, int relative, int precision)
 
static char * assvg_polygon (const LWPOLY *poly, int relative, int precision)
 
static char * assvg_multipoint (const LWMPOINT *mpoint, int relative, int precision)
 
static char * assvg_multiline (const LWMLINE *mline, int relative, int precision)
 
static char * assvg_multipolygon (const LWMPOLY *mpoly, int relative, int precision)
 
static char * assvg_collection (const LWCOLLECTION *col, int relative, int precision)
 
static size_t assvg_geom_size (const LWGEOM *geom, int relative, int precision)
 
static size_t assvg_geom_buf (const LWGEOM *geom, char *output, int relative, int precision)
 
static size_t pointArray_svg_size (POINTARRAY *pa, int precision)
 Returns maximum size of rendered pointarray in bytes. More...
 
static size_t pointArray_svg_rel (POINTARRAY *pa, char *output, int close_ring, int precision)
 
static size_t pointArray_svg_abs (POINTARRAY *pa, char *output, int close_ring, int precision)
 Returns maximum size of rendered pointarray in bytes. More...
 
char * lwgeom_to_svg (const LWGEOM *geom, int precision, int relative)
 Takes a GEOMETRY and returns a SVG representation. More...
 
static size_t assvg_point_size (const LWPOINT *point, int circle, int precision)
 Point Geometry. More...
 
static size_t assvg_point_buf (const LWPOINT *point, char *output, int circle, int precision)
 
static size_t assvg_line_size (const LWLINE *line, int relative, int precision)
 Line Geometry. More...
 
static size_t assvg_line_buf (const LWLINE *line, char *output, int relative, int precision)
 
static size_t assvg_polygon_size (const LWPOLY *poly, int relative, int precision)
 Polygon Geometry. More...
 
static size_t assvg_polygon_buf (const LWPOLY *poly, char *output, int relative, int precision)
 
static size_t assvg_multipoint_size (const LWMPOINT *mpoint, int relative, int precision)
 Multipoint Geometry. More...
 
static size_t assvg_multipoint_buf (const LWMPOINT *mpoint, char *output, int relative, int precision)
 
static size_t assvg_multiline_size (const LWMLINE *mline, int relative, int precision)
 Multiline Geometry. More...
 
static size_t assvg_multiline_buf (const LWMLINE *mline, char *output, int relative, int precision)
 
static size_t assvg_multipolygon_size (const LWMPOLY *mpoly, int relative, int precision)
 
static size_t assvg_multipolygon_buf (const LWMPOLY *mpoly, char *output, int relative, int precision)
 
static size_t assvg_collection_size (const LWCOLLECTION *col, int relative, int precision)
 Collection Geometry. More...
 
static size_t assvg_collection_buf (const LWCOLLECTION *col, char *output, int relative, int precision)
 

Detailed Description

SVG output routines.

Originally written by: Klaus Förster klaus.nosp@m.@svg.nosp@m..cc Refactored by: Olivier Courtin (Camptocamp)

BNF SVG Path: http://www.w3.org/TR/SVG/paths.html#PathDataBNF

Definition in file lwout_svg.c.