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

Multiline Geometry.

Definition at line 319 of file lwout_svg.c.

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

Referenced by assvg_geom_size(), and assvg_multiline().

320 {
321  const LWLINE *line;
322  size_t size=0;
323  int i;
324 
325  for (i=0 ; i<mline->ngeoms ; i++)
326  {
327  line = mline->geoms[i];
328  size += assvg_line_size(line, relative, precision);
329  }
330  size += sizeof(" ") * --i; /* SVG whitespace Separator */
331 
332  return size;
333 }
int ngeoms
Definition: liblwgeom.h:480
static size_t assvg_line_size(const LWLINE *line, int relative, int precision)
Line Geometry.
Definition: lwout_svg.c:166
uint8_t precision
Definition: cu_in_twkb.c:25
LWLINE ** geoms
Definition: liblwgeom.h:482

Here is the call graph for this function:

Here is the caller graph for this function: