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

Multiline Geometry.

Definition at line 305 of file lwout_svg.c.

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

Referenced by assvg_geom_size(), and assvg_multiline().

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