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

◆ assvg_multipolygon_size()

static size_t assvg_multipolygon_size ( const LWMPOLY mpoly,
int  relative,
int  precision 
)
static

Definition at line 361 of file lwout_svg.c.

362{
363 const LWPOLY *poly;
364 size_t size=0;
365 uint32_t i;
366
367 for (i=0 ; i<mpoly->ngeoms ; i++)
368 {
369 poly = mpoly->geoms[i];
370 size += assvg_polygon_size(poly, relative, precision);
371 }
372 size += sizeof(" ") * --i; /* SVG whitespace Separator */
373
374 return size;
375}
static uint8_t precision
Definition cu_in_twkb.c:25
static size_t assvg_polygon_size(const LWPOLY *poly, __attribute__((__unused__)) int relative, int precision)
Polygon Geometry.
Definition lwout_svg.c:200
uint32_t ngeoms
Definition liblwgeom.h:552
LWPOLY ** geoms
Definition liblwgeom.h:547

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

Referenced by assvg_geom_size(), and assvg_multipolygon().

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