PostGIS  2.1.10dev-r@@SVN_REVISION@@
static size_t assvg_multiline_size ( const LWMLINE mline,
int  relative,
int  precision 
)
static

Multiline Geometry.

Definition at line 306 of file lwout_svg.c.

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

Referenced by assvg_geom_size(), and assvg_multiline().

307 {
308  const LWLINE *line;
309  size_t size=0;
310  int i;
311 
312  for (i=0 ; i<mline->ngeoms ; i++)
313  {
314  line = mline->geoms[i];
315  size += assvg_line_size(line, relative, precision);
316  }
317  size += sizeof(" ") * --i; /* SVG whitespace Separator */
318 
319  return size;
320 }
int ngeoms
Definition: liblwgeom.h:437
static size_t assvg_line_size(const LWLINE *line, int relative, int precision)
Line Geometry.
Definition: lwout_svg.c:153
LWLINE ** geoms
Definition: liblwgeom.h:439

Here is the call graph for this function:

Here is the caller graph for this function: