PostGIS  2.4.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 284 of file lwout_svg.c.

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

Referenced by assvg_geom_buf(), and assvg_multipoint().

285 {
286  const LWPOINT *point;
287  int i;
288  char *ptr=output;
289 
290  for (i=0 ; i<mpoint->ngeoms ; i++)
291  {
292  if (i) ptr += sprintf(ptr, ","); /* Arbitrary comma separator */
293  point = mpoint->geoms[i];
294  ptr += assvg_point_buf(point, ptr, relative, precision);
295  }
296 
297  return (ptr-output);
298 }
uint8_t precision
Definition: cu_in_twkb.c:25
LWPOINT ** geoms
Definition: liblwgeom.h:470
static size_t assvg_point_buf(const LWPOINT *point, char *output, int circle, int precision)
Definition: lwout_svg.c:119
int ngeoms
Definition: liblwgeom.h:468
Here is the call graph for this function:
Here is the caller graph for this function: