PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ assvg_collection()

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

Definition at line 464 of file lwout_svg.c.

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

Referenced by lwgeom_to_svg().

465 {
466  char *output;
467  int size;
468 
469  size = assvg_collection_size(col, relative, precision);
470  output = lwalloc(size);
471  assvg_collection_buf(col, output, relative, precision);
472 
473  return output;
474 }
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:444
static size_t assvg_collection_size(const LWCOLLECTION *col, int relative, int precision)
Collection Geometry.
Definition: lwout_svg.c:423
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: