PostGIS  3.1.6dev-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 297 of file lwout_svg.c.

298 {
299  const LWLINE *line;
300  size_t size=0;
301  uint32_t i;
302 
303  for (i=0 ; i<mline->ngeoms ; i++)
304  {
305  line = mline->geoms[i];
306  size += assvg_line_size(line, relative, precision);
307  }
308  size += sizeof(" ") * --i; /* SVG whitespace Separator */
309 
310  return size;
311 }
static uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_line_size(const LWLINE *line, __attribute__((__unused__)) int relative, int precision)
Line Geometry.
Definition: lwout_svg.c:153
LWLINE ** geoms
Definition: liblwgeom.h:561
uint32_t ngeoms
Definition: liblwgeom.h:566

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

Referenced by assvg_geom_size(), and assvg_multiline().

Here is the call graph for this function:
Here is the caller graph for this function: