PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ assvg_polygon()

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

Definition at line 239 of file lwout_svg.c.

240 {
241  char *output;
242  int size;
243 
244  size = assvg_polygon_size(poly, relative, precision);
245  output = lwalloc(size);
246  assvg_polygon_buf(poly, output, relative, precision);
247 
248  return output;
249 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
static size_t assvg_polygon_size(const LWPOLY *poly, __attribute__((__unused__)) int relative, int precision)
Polygon Geometry.
Definition: lwout_svg.c:200
static size_t assvg_polygon_buf(const LWPOLY *poly, char *output, int relative, int precision)
Definition: lwout_svg.c:213

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

Referenced by lwgeom_to_svg().

Here is the call graph for this function:
Here is the caller graph for this function: