Definition at line 223 of file lwout_svg.c.
References LWPOLY::nrings, pointArray_svg_abs(), pointArray_svg_rel(), and LWPOLY::rings.
Referenced by assvg_geom_buf(), assvg_multipolygon_buf(), and assvg_polygon().
228 for (i=0; i<poly->
nrings; i++)
230 if (i) ptr += sprintf(ptr,
" ");
231 ptr += sprintf(ptr,
"M ");
236 ptr += sprintf(ptr,
" z");
241 ptr += sprintf(ptr,
" Z");
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.