PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ assvg_collection()

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

Definition at line 454 of file lwout_svg.c.

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

Referenced by lwgeom_to_svg().

455 {
456  char *output;
457  int size;
458 
459  size = assvg_collection_size(col, relative, precision);
460  output = lwalloc(size);
461  assvg_collection_buf(col, output, relative, precision);
462 
463  return output;
464 }
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:434
static size_t assvg_collection_size(const LWCOLLECTION *col, int relative, int precision)
Collection Geometry.
Definition: lwout_svg.c:413
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: