PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ assvg_point_size()

static size_t assvg_point_size ( const LWPOINT point,
int  circle,
int  precision 
)
static

Point Geometry.

Definition at line 107 of file lwout_svg.c.

References OUT_MAX_DIGS_DOUBLE, and precision.

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

108 {
109  size_t size;
110 
111  size = (OUT_MAX_DIGS_DOUBLE + precision) * 2;
112  if (circle) size += sizeof("cx='' cy=''");
113  else size += sizeof("x='' y=''");
114 
115  return size;
116 }
uint8_t precision
Definition: cu_in_twkb.c:25
#define OUT_MAX_DIGS_DOUBLE
Here is the caller graph for this function: