PostGIS  2.1.10dev-r@@SVN_REVISION@@
static char * assvg_polygon ( const LWPOLY poly,
int  relative,
int  precision 

Definition at line 236 of file lwout_svg.c.

References assvg_polygon_buf(), assvg_polygon_size(), and lwalloc().

Referenced by lwgeom_to_svg().

237 {
238  char *output;
239  int size;
241  size = assvg_polygon_size(poly, relative, precision);
242  output = lwalloc(size);
243  assvg_polygon_buf(poly, output, relative, precision);
245  return output;
246 }
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)
Definition: lwout_svg.c:210
static size_t assvg_polygon_size(const LWPOLY *poly, int relative, int precision)
Polygon Geometry.
Definition: lwout_svg.c:197
void * lwalloc(size_t size)
Definition: lwutil.c:175

Here is the call graph for this function:

Here is the caller graph for this function: