PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ assvg_multipolygon()

static char * assvg_multipolygon ( const LWMPOLY mpoly,
int  relative,
int  precision 
)
static

Definition at line 405 of file lwout_svg.c.

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

Referenced by lwgeom_to_svg().

406 {
407  char *output;
408  int size;
409 
410  size = assvg_multipolygon_size(mpoly, relative, precision);
411  output = lwalloc(size);
412  assvg_multipolygon_buf(mpoly, output, relative, precision);
413 
414  return output;
415 }
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:371
static size_t assvg_multipolygon_buf(const LWMPOLY *mpoly, char *output, int relative, int precision)
Definition: lwout_svg.c:388
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: