PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ assvg_multiline()

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

Definition at line 353 of file lwout_svg.c.

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

Referenced by lwgeom_to_svg().

354 {
355  char *output;
356  int size;
357 
358  size = assvg_multiline_size(mline, relative, precision);
359  output = lwalloc(size);
360  assvg_multiline_buf(mline, output, relative, precision);
361 
362  return output;
363 }
static size_t assvg_multiline_size(const LWMLINE *mline, int relative, int precision)
Multiline Geometry.
Definition: lwout_svg.c:319
static size_t assvg_multiline_buf(const LWMLINE *mline, char *output, int relative, int precision)
Definition: lwout_svg.c:336
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: