PostGIS  2.2.8dev-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 322 of file lwout_svg.c.

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

Referenced by assvg_geom_buf(), and assvg_multiline().

323 {
324  const LWLINE *line;
325  int i;
326  char *ptr=output;
327 
328  for (i=0 ; i<mline->ngeoms ; i++)
329  {
330  if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
331  line = mline->geoms[i];
332  ptr += assvg_line_buf(line, ptr, relative, precision);
333  }
334 
335  return (ptr-output);
336 }
static size_t assvg_line_buf(const LWLINE *line, char *output, int relative, int precision)
Definition: lwout_svg.c:163
int ngeoms
Definition: liblwgeom.h:465
uint8_t precision
Definition: cu_in_twkb.c:25
LWLINE ** geoms
Definition: liblwgeom.h:467
Here is the call graph for this function:
Here is the caller graph for this function: