PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ assvg_multiline()

static char * assvg_multiline ( const LWMLINE mline,
int  relative,
int  precision 
)
static

Definition at line 343 of file lwout_svg.c.

References assvg_multiline_buf(), assvg_multiline_size(), and lwalloc().

Referenced by lwgeom_to_svg().

344 {
345  char *output;
346  int size;
347 
348  size = assvg_multiline_size(mline, relative, precision);
349  output = lwalloc(size);
350  assvg_multiline_buf(mline, output, relative, precision);
351 
352  return output;
353 }
static size_t assvg_multiline_size(const LWMLINE *mline, int relative, int precision)
Multiline Geometry.
Definition: lwout_svg.c:309
static size_t assvg_multiline_buf(const LWMLINE *mline, char *output, int relative, int precision)
Definition: lwout_svg.c:326
uint8_t precision
Definition: cu_in_twkb.c:25
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: