PostGIS  3.1.6dev-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 314 of file lwout_svg.c.

315 {
316  const LWLINE *line;
317  uint32_t i;
318  char *ptr=output;
319 
320  for (i=0 ; i<mline->ngeoms ; i++)
321  {
322  if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
323  line = mline->geoms[i];
324  ptr += assvg_line_buf(line, ptr, relative, precision);
325  }
326 
327  return (ptr-output);
328 }
static uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_line_buf(const LWLINE *line, char *output, int relative, int precision)
Definition: lwout_svg.c:164
LWLINE ** geoms
Definition: liblwgeom.h:561
uint32_t ngeoms
Definition: liblwgeom.h:566

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

Referenced by assvg_geom_buf(), and assvg_multiline().

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