PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ assvg_line_size()

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

Line Geometry.

Definition at line 156 of file lwout_svg.c.

157 {
158  size_t size;
159 
160  size = sizeof("M ");
161  size += pointArray_svg_size(line->points, precision);
162 
163  return size;
164 }
static 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:425

References pointArray_svg_size(), LWLINE::points, and precision.

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

Here is the call graph for this function:
Here is the caller graph for this function: