PostGIS  3.3.9dev-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 265 of file lwout_svg.c.

266 {
267  const LWPOINT *point;
268  uint32_t i;
269  char *ptr=output;
270 
271  for (i=0 ; i<mpoint->ngeoms ; i++)
272  {
273  if (i) ptr += sprintf(ptr, ","); /* Arbitrary comma separator */
274  point = mpoint->geoms[i];
275  ptr += assvg_point_buf(point, ptr, relative, precision);
276  }
277 
278  return (ptr-output);
279 }
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:553
LWPOINT ** geoms
Definition: liblwgeom.h:548

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: