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

Definition at line 395 of file lwout_svg.c.

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

Referenced by lwgeom_to_svg().

396 {
397  char *output;
398  int size;
399 
400  size = assvg_multipolygon_size(mpoly, relative, precision);
401  output = lwalloc(size);
402  assvg_multipolygon_buf(mpoly, output, relative, precision);
403 
404  return output;
405 }
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:361
static size_t assvg_multipolygon_buf(const LWMPOLY *mpoly, char *output, int relative, int precision)
Definition: lwout_svg.c:378
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: