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

Line Geometry.

Definition at line 166 of file lwout_svg.c.

References pointArray_svg_size(), and LWLINE::points.

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

167 {
168  size_t size;
169 
170  size = sizeof("M ");
171  size += pointArray_svg_size(line->points, precision);
172 
173  return size;
174 }
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:689
POINTARRAY * points
Definition: liblwgeom.h:421

Here is the call graph for this function:

Here is the caller graph for this function: