PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ assvg_multiline_buf()

static size_t assvg_multiline_buf ( const LWMLINE mline,
char *  output,
int  relative,
int  precision 
)
static

Definition at line 336 of file lwout_svg.c.

References assvg_line_buf(), LWMLINE::geoms, and LWMLINE::ngeoms.

Referenced by assvg_geom_buf(), and assvg_multiline().

337 {
338  const LWLINE *line;
339  int i;
340  char *ptr=output;
341 
342  for (i=0 ; i<mline->ngeoms ; i++)
343  {
344  if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
345  line = mline->geoms[i];
346  ptr += assvg_line_buf(line, ptr, relative, precision);
347  }
348 
349  return (ptr-output);
350 }
static size_t assvg_line_buf(const LWLINE *line, char *output, int relative, int precision)
Definition: lwout_svg.c:177
int ngeoms
Definition: liblwgeom.h:481
uint8_t precision
Definition: cu_in_twkb.c:25
LWLINE ** geoms
Definition: liblwgeom.h:483
Here is the call graph for this function:
Here is the caller graph for this function: