PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ assvg_multipolygon_buf()

static size_t assvg_multipolygon_buf ( const LWMPOLY mpoly,
char *  output,
int  relative,
int  precision 
)
static

Definition at line 363 of file lwout_svg.c.

364 {
365  const LWPOLY *poly;
366  uint32_t i;
367  char *ptr=output;
368 
369  for (i=0 ; i<mpoly->ngeoms ; i++)
370  {
371  if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
372  poly = mpoly->geoms[i];
373  ptr += assvg_polygon_buf(poly, ptr, relative, precision);
374  }
375 
376  return (ptr-output);
377 }
static uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)
Definition: lwout_svg.c:207
uint32_t ngeoms
Definition: liblwgeom.h:581
LWPOLY ** geoms
Definition: liblwgeom.h:576

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

Referenced by assvg_geom_buf(), and assvg_multipolygon().

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