PostGIS  2.1.10dev-r@@SVN_REVISION@@
static size_t assvg_multipolygon_buf ( const LWMPOLY mpoly,
char *  output,
int  relative,
int  precision 
)
static

Definition at line 375 of file lwout_svg.c.

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

Referenced by assvg_geom_buf(), and assvg_multipolygon().

376 {
377  const LWPOLY *poly;
378  int i;
379  char *ptr=output;
380 
381  for (i=0 ; i<mpoly->ngeoms ; i++)
382  {
383  if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
384  poly = mpoly->geoms[i];
385  ptr += assvg_polygon_buf(poly, ptr, relative, precision);
386  }
387 
388  return (ptr-output);
389 }
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)
Definition: lwout_svg.c:210
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: