PostGIS  2.5.7dev-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.

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 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:167
LWLINE ** geoms
Definition: liblwgeom.h:486
uint32_t ngeoms
Definition: liblwgeom.h:484
unsigned int uint32_t
Definition: uthash.h:78

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: