PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ assvg_polygon()

static char * assvg_polygon ( const LWPOLY poly,
int  relative,
int  precision 
)
static

Definition at line 249 of file lwout_svg.c.

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

Referenced by lwgeom_to_svg().

250 {
251  char *output;
252  int size;
253 
254  size = assvg_polygon_size(poly, relative, precision);
255  output = lwalloc(size);
256  assvg_polygon_buf(poly, output, relative, precision);
257 
258  return output;
259 }
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)
Definition: lwout_svg.c:223
static size_t assvg_polygon_size(const LWPOLY *poly, int relative, int precision)
Polygon Geometry.
Definition: lwout_svg.c:210
uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
Here is the call graph for this function:
Here is the caller graph for this function: