PostGIS  2.1.10dev-r@@SVN_REVISION@@
static size_t assvg_multipolygon_size ( const LWMPOLY mpoly,
int  relative,
int  precision 
)
static

Definition at line 358 of file lwout_svg.c.

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

Referenced by assvg_geom_size(), and assvg_multipolygon().

359 {
360  const LWPOLY *poly;
361  size_t size=0;
362  int i;
363 
364  for (i=0 ; i<mpoly->ngeoms ; i++)
365  {
366  poly = mpoly->geoms[i];
367  size += assvg_polygon_size(poly, relative, precision);
368  }
369  size += sizeof(" ") * --i; /* SVG whitespace Separator */
370 
371  return size;
372 }
static size_t assvg_polygon_size(const LWPOLY *poly, int relative, int precision)
Polygon Geometry.
Definition: lwout_svg.c:197
LWPOLY ** geoms
Definition: liblwgeom.h:452
int ngeoms
Definition: liblwgeom.h:450

Here is the call graph for this function:

Here is the caller graph for this function: