PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ assvg_multipoint()

static void assvg_multipoint ( stringbuffer_t sb,
const LWMPOINT mpoint,
int  relative,
int  precision 
)
static

Definition at line 332 of file lwout_svg.c.

333 {
334  const LWPOINT *point;
335  uint32_t i;
336 
337  for (i = 0; i<mpoint->ngeoms; i++)
338  {
339  if (i) stringbuffer_append(sb, ","); /* Arbitrary comma separator */
340  point = mpoint->geoms[i];
341  assvg_point(sb, point, relative, precision);
342  }
343 }
static uint8_t precision
Definition: cu_in_twkb.c:25
static void assvg_point(stringbuffer_t *sb, const LWPOINT *point, int circle, int precision)
Definition: lwout_svg.c:135
static void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
Definition: stringbuffer.h:105
uint32_t ngeoms
Definition: liblwgeom.h:538
LWPOINT ** geoms
Definition: liblwgeom.h:533

References assvg_point(), LWMPOINT::geoms, LWMPOINT::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: