PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ assvg_multipolygon_buf()

static size_t assvg_multipolygon_buf ( const LWMPOLY mpoly,
char *  output,
int  relative,
int  precision 
)
static

Definition at line 378 of file lwout_svg.c.

379{
380 const LWPOLY *poly;
381 uint32_t i;
382 char *ptr=output;
383
384 for (i=0 ; i<mpoly->ngeoms ; i++)
385 {
386 if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
387 poly = mpoly->geoms[i];
388 ptr += assvg_polygon_buf(poly, ptr, relative, precision);
389 }
390
391 return (ptr-output);
392}
static uint8_t precision
Definition cu_in_twkb.c:25
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)
Definition lwout_svg.c:213
uint32_t ngeoms
Definition liblwgeom.h:552
LWPOLY ** geoms
Definition liblwgeom.h:547

References assvg_polygon_buf(), LWMPOLY::geoms, LWMPOLY::ngeoms, and precision.

Referenced by assvg_geom_buf(), and assvg_multipolygon().

Here is the call graph for this function:
Here is the caller graph for this function: