PostGIS  2.2.7dev-r@@SVN_REVISION@@
static size_t assvg_point_size ( const LWPOINT point,
int  circle,
int  precision 
)
static

Point Geometry.

Definition at line 93 of file lwout_svg.c.

References OUT_MAX_DIGS_DOUBLE, and precision.

Referenced by assvg_geom_size(), assvg_multipoint_size(), and assvg_point().

94 {
95  size_t size;
96 
97  size = (OUT_MAX_DIGS_DOUBLE + precision) * 2;
98  if (circle) size += sizeof("cx='' cy=''");
99  else size += sizeof("x='' y=''");
100 
101  return size;
102 }
uint8_t precision
Definition: cu_in_twkb.c:25
#define OUT_MAX_DIGS_DOUBLE

Here is the caller graph for this function: