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

SVG output routines. More...

#include "liblwgeom_internal.h"
#include "stringbuffer.h"
Include dependency graph for lwout_svg.c:

Go to the source code of this file.

Functions

static void assvg_geom (stringbuffer_t *sb, const LWGEOM *geom, int relative, int precision)
 
static void pointArray_svg_rel (stringbuffer_t *sb, const POINTARRAY *pa, int close_ring, int precision, int start_at_index)
 
static void pointArray_svg_abs (stringbuffer_t *sb, const POINTARRAY *pa, int close_ring, int precision, int start_at_index)
 Returns maximum size of rendered pointarray in bytes. More...
 
static void assvg_point (stringbuffer_t *sb, const LWPOINT *point, int circle, int precision)
 
static void assvg_line (stringbuffer_t *sb, const LWLINE *line, int relative, int precision)
 
static void pointArray_svg_arc (stringbuffer_t *sb, const POINTARRAY *pa, int close_ring, int relative, int precision)
 
static void assvg_circstring (stringbuffer_t *sb, const LWCIRCSTRING *icurve, int relative, int precision)
 
static void assvg_compound (stringbuffer_t *sb, const LWCOMPOUND *icompound, int relative, int precision)
 
static void assvg_polygon (stringbuffer_t *sb, const LWPOLY *poly, int relative, int precision)
 
static void assvg_multipoint (stringbuffer_t *sb, const LWMPOINT *mpoint, int relative, int precision)
 
static void assvg_multiline (stringbuffer_t *sb, const LWMLINE *mline, int relative, int precision)
 
static void assvg_multipolygon (stringbuffer_t *sb, const LWMPOLY *mpoly, int relative, int precision)
 
static void assvg_multicurve (stringbuffer_t *sb, const LWMCURVE *mcurve, int relative, int precision)
 
static void assvg_curvepoly (stringbuffer_t *sb, const LWCURVEPOLY *curvepoly, int relative, int precision)
 
static void assvg_multisurface (stringbuffer_t *sb, const LWMSURFACE *msurface, int relative, int precision)
 
static void assvg_collection (stringbuffer_t *sb, const LWCOLLECTION *col, int relative, int precision)
 
lwvarlena_tlwgeom_to_svg (const LWGEOM *geom, int precision, int relative)
 Takes a GEOMETRY and returns a SVG representation. More...
 

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.