PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ assvg_multipolygon()

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

Definition at line 395 of file lwout_svg.c.

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 }
static uint8_t precision
Definition: cu_in_twkb.c:25
void * lwalloc(size_t size)
Definition: lwutil.c:229
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

References assvg_multipolygon_buf(), assvg_multipolygon_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: