PostGIS  2.5.0dev-r@@SVN_REVISION@@
static size_t assvg_line_size ( const LWLINE line,
int  relative,
int  precision 
)
static

Line Geometry.

Definition at line 156 of file lwout_svg.c.

References pointArray_svg_size(), and LWLINE::points.

Referenced by assvg_geom_size(), assvg_line(), and assvg_multiline_size().

157 {
158  size_t size;
159 
160  size = sizeof("M ");
161  size += pointArray_svg_size(line->points, precision);
162 
163  return size;
164 }
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t pointArray_svg_size(POINTARRAY *pa, int precision)
Returns maximum size of rendered pointarray in bytes.
Definition: lwout_svg.c:647
POINTARRAY * points
Definition: liblwgeom.h:421

Here is the call graph for this function:

Here is the caller graph for this function: