PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ assvg_multipolygon()

static void assvg_multipolygon ( stringbuffer_t sb,
const LWMPOLY mpoly,
int  relative,
int  precision 
)
static

Definition at line 361 of file lwout_svg.c.

362{
363 const LWPOLY *poly;
364 uint32_t i;
365
366 for (i = 0; i<mpoly->ngeoms; i++)
367 {
368 if (i) stringbuffer_append(sb, " "); /* SVG whitespace Separator */
369 poly = mpoly->geoms[i];
370 assvg_polygon(sb, poly, relative, precision);
371 }
372}
static uint8_t precision
Definition cu_in_twkb.c:25
static void assvg_polygon(stringbuffer_t *sb, const LWPOLY *poly, int relative, int precision)
Definition lwout_svg.c:309
static void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
uint32_t ngeoms
Definition liblwgeom.h:566
LWPOLY ** geoms
Definition liblwgeom.h:561

References assvg_polygon(), LWMPOLY::geoms, LWMPOLY::ngeoms, precision, and stringbuffer_append().

Referenced by assvg_geom(), and lwgeom_to_svg().

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