PostGIS  2.2.7dev-r@@SVN_REVISION@@
static size_t pointArray_svg_size ( POINTARRAY pa,
int  precision 
)
static

Returns maximum size of rendered pointarray in bytes.

Definition at line 675 of file lwout_svg.c.

References POINTARRAY::npoints, and OUT_MAX_DIGS_DOUBLE.

Referenced by assvg_line_size(), and assvg_polygon_size().

676 {
677  return (OUT_MAX_DIGS_DOUBLE + precision + sizeof(" "))
678  * 2 * pa->npoints + sizeof(" L ");
679 }
int npoints
Definition: liblwgeom.h:355
uint8_t precision
Definition: cu_in_twkb.c:25
#define OUT_MAX_DIGS_DOUBLE

Here is the caller graph for this function: