PostGIS  2.5.0dev-r@@SVN_REVISION@@
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.

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

Referenced by assvg_geom_buf(), and assvg_multipolygon().

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 }
uint32_t ngeoms
Definition: liblwgeom.h:493
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)
Definition: lwout_svg.c:213
unsigned int uint32_t
Definition: uthash.h:78
LWPOLY ** geoms
Definition: liblwgeom.h:495
uint8_t precision
Definition: cu_in_twkb.c:25

Here is the call graph for this function:

Here is the caller graph for this function: