PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ assvg_collection()

static char * assvg_collection ( const LWCOLLECTION col,
int  relative,
int  precision 

Definition at line 450 of file lwout_svg.c.

References assvg_collection_buf(), assvg_collection_size(), and lwalloc().

Referenced by lwgeom_to_svg().

451 {
452  char *output;
453  int size;
455  size = assvg_collection_size(col, relative, precision);
456  output = lwalloc(size);
457  assvg_collection_buf(col, output, relative, precision);
459  return output;
460 }
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_collection_buf(const LWCOLLECTION *col, char *output, int relative, int precision)
Definition: lwout_svg.c:430
static size_t assvg_collection_size(const LWCOLLECTION *col, int relative, int precision)
Collection Geometry.
Definition: lwout_svg.c:409
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: