PostGIS  3.1.6dev-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 153 of file lwout_svg.c.

154 {
155  size_t size;
156 
157  size = sizeof("M ");
158  size += pointArray_svg_size(line->points, precision);
159 
160  return size;
161 }
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:626
POINTARRAY * points
Definition: liblwgeom.h:497

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: