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

Point Geometry.

Definition at line 94 of file lwout_svg.c.

References OUT_MAX_DIGS_DOUBLE.

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

95 {
96  size_t size;
97 
98  size = (OUT_MAX_DIGS_DOUBLE + precision) * 2;
99  if (circle) size += sizeof("cx='' cy=''");
100  else size += sizeof("x='' y=''");
101 
102  return size;
103 }
#define OUT_MAX_DIGS_DOUBLE

Here is the caller graph for this function: