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

Line Geometry.

Definition at line 153 of file lwout_svg.c.

References pointArray_svg_size(), and LWLINE::points.

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

154 {
155  size_t size;
156 
157  size = sizeof("M ");
158  size += pointArray_svg_size(line->points, precision);
159 
160  return size;
161 }
static size_t pointArray_svg_size(POINTARRAY *pa, int precision)
Returns maximum size of rendered pointarray in bytes.
Definition: lwout_svg.c:676
POINTARRAY * points
Definition: liblwgeom.h:378

Here is the call graph for this function:

Here is the caller graph for this function: