PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ assvg_multiline_size()

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:481
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:483
Here is the call graph for this function:
Here is the caller graph for this function: