PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ assvg_line_size()

static size_t assvg_line_size ( const LWLINE line,
int  relative,
int  precision 
)
static

Line Geometry.

Definition at line 152 of file lwout_svg.c.

References pointArray_svg_size(), and LWLINE::points.

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

153 {
154  size_t size;
155 
156  size = sizeof("M ");
157  size += pointArray_svg_size(line->points, precision);
158 
159  return size;
160 }
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:675
POINTARRAY * points
Definition: liblwgeom.h:406
Here is the call graph for this function:
Here is the caller graph for this function: