PostGIS  2.2.7dev-r@@SVN_REVISION@@
static char * assvg_multipolygon ( const LWMPOLY mpoly,
int  relative,
int  precision 
)
static

Definition at line 391 of file lwout_svg.c.

References assvg_multipolygon_buf(), assvg_multipolygon_size(), and lwalloc().

Referenced by lwgeom_to_svg().

392 {
393  char *output;
394  int size;
395 
396  size = assvg_multipolygon_size(mpoly, relative, precision);
397  output = lwalloc(size);
398  assvg_multipolygon_buf(mpoly, output, relative, precision);
399 
400  return output;
401 }
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_multipolygon_size(const LWMPOLY *mpoly, int relative, int precision)
Definition: lwout_svg.c:357
static size_t assvg_multipolygon_buf(const LWMPOLY *mpoly, char *output, int relative, int precision)
Definition: lwout_svg.c:374
void * lwalloc(size_t size)
Definition: lwutil.c:199

Here is the call graph for this function:

Here is the caller graph for this function: