PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ assvg_multipoint_buf()

static size_t assvg_multipoint_buf ( const LWMPOINT mpoint,
char *  output,
int  relative,
int  precision 
)
static

Definition at line 274 of file lwout_svg.c.

275 {
276  const LWPOINT *point;
277  uint32_t i;
278  char *ptr=output;
279 
280  for (i=0 ; i<mpoint->ngeoms ; i++)
281  {
282  if (i) ptr += sprintf(ptr, ","); /* Arbitrary comma separator */
283  point = mpoint->geoms[i];
284  ptr += assvg_point_buf(point, ptr, relative, precision);
285  }
286 
287  return (ptr-output);
288 }
static uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_point_buf(const LWPOINT *point, char *output, int circle, int precision)
Definition: lwout_svg.c:119
uint32_t ngeoms
Definition: liblwgeom.h:471
LWPOINT ** geoms
Definition: liblwgeom.h:473
unsigned int uint32_t
Definition: uthash.h:78

References assvg_point_buf(), LWMPOINT::geoms, LWMPOINT::ngeoms, and precision.

Referenced by assvg_geom_buf(), and assvg_multipoint().

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