PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ assvg_point_size()

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

Point Geometry.

Definition at line 107 of file lwout_svg.c.

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 }
static uint8_t precision
Definition: cu_in_twkb.c:25
#define OUT_MAX_DIGS_DOUBLE

References OUT_MAX_DIGS_DOUBLE, and precision.

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

Here is the caller graph for this function: