PostGIS  2.1.10dev-r@@SVN_REVISION@@
static size_t assvg_multiline_buf ( const LWMLINE mline,
char *  output,
int  relative,
int  precision 
)
static

Definition at line 323 of file lwout_svg.c.

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

Referenced by assvg_geom_buf(), and assvg_multiline().

324 {
325  const LWLINE *line;
326  int i;
327  char *ptr=output;
328 
329  for (i=0 ; i<mline->ngeoms ; i++)
330  {
331  if (i) ptr += sprintf(ptr, " "); /* SVG whitespace Separator */
332  line = mline->geoms[i];
333  ptr += assvg_line_buf(line, ptr, relative, precision);
334  }
335 
336  return (ptr-output);
337 }
static size_t assvg_line_buf(const LWLINE *line, char *output, int relative, int precision)
Definition: lwout_svg.c:164
int ngeoms
Definition: liblwgeom.h:437
LWLINE ** geoms
Definition: liblwgeom.h:439

Here is the call graph for this function:

Here is the caller graph for this function: