PostGIS  3.0.0dev-r@@SVN_REVISION@@

◆ assvg_point()

static char * assvg_point ( const LWPOINT point,
int  relative,
int  precision 
)
static

Definition at line 138 of file lwout_svg.c.

References assvg_point_buf(), assvg_point_size(), and lwalloc().

Referenced by lwgeom_to_svg().

139 {
140  char *output;
141  int size;
142 
143  size = assvg_point_size(point, circle, precision);
144  output = lwalloc(size);
145  assvg_point_buf(point, output, circle, precision);
146 
147  return output;
148 }
static size_t assvg_point_size(__attribute__((__unused__)) const LWPOINT *point, int circle, int precision)
Point Geometry.
Definition: lwout_svg.c:107
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_point_buf(const LWPOINT *point, char *output, int circle, int precision)
Definition: lwout_svg.c:119
void * lwalloc(size_t size)
Definition: lwutil.c:227
Here is the call graph for this function:
Here is the caller graph for this function: