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

Definition at line 388 of file lwout_svg.c.

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

Referenced by assvg_geom_buf(), and assvg_multipolygon().

389 {
390  const LWPOLY *poly;
391  int i;
392  char *ptr=output;
393 
394  for (i=0 ; i<mpoly->ngeoms ; i++)
395  {
396  if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
397  poly = mpoly->geoms[i];
398  ptr += assvg_polygon_buf(poly, ptr, relative, precision);
399  }
400 
401  return (ptr-output);
402 }
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)
Definition: lwout_svg.c:223
LWPOLY ** geoms
Definition: liblwgeom.h:495
uint8_t precision
Definition: cu_in_twkb.c:25
int ngeoms
Definition: liblwgeom.h:493

Here is the call graph for this function:

Here is the caller graph for this function: