PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ assvg_multiline_size()

static size_t assvg_multiline_size ( const LWMLINE mline,
int  relative,
int  precision 
)
static

Multiline Geometry.

Definition at line 309 of file lwout_svg.c.

310{
311 const LWLINE *line;
312 size_t size=0;
313 uint32_t i;
314
315 for (i=0 ; i<mline->ngeoms ; i++)
316 {
317 line = mline->geoms[i];
318 size += assvg_line_size(line, relative, precision);
319 }
320 size += sizeof(" ") * --i; /* SVG whitespace Separator */
321
322 return size;
323}
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:156
LWLINE ** geoms
Definition liblwgeom.h:533
uint32_t ngeoms
Definition liblwgeom.h:538

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: