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

Definition at line 374 of file lwout_svg.c.

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

Referenced by assvg_geom_buf(), and assvg_multipolygon().

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

Here is the call graph for this function:

Here is the caller graph for this function: