PostGIS  2.5.1dev-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 326 of file lwout_svg.c.

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

Referenced by assvg_geom_buf(), and assvg_multiline().

327 {
328  const LWLINE *line;
329  uint32_t i;
330  char *ptr=output;
331 
332  for (i=0 ; i<mline->ngeoms ; i++)
333  {
334  if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
335  line = mline->geoms[i];
336  ptr += assvg_line_buf(line, ptr, relative, precision);
337  }
338 
339  return (ptr-output);
340 }
static size_t assvg_line_buf(const LWLINE *line, char *output, int relative, int precision)
Definition: lwout_svg.c:167
unsigned int uint32_t
Definition: uthash.h:78
uint8_t precision
Definition: cu_in_twkb.c:25
uint32_t ngeoms
Definition: liblwgeom.h:483
LWLINE ** geoms
Definition: liblwgeom.h:485
Here is the call graph for this function:
Here is the caller graph for this function: