PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ assvg_line()

static char * assvg_line ( const LWLINE line,
int  relative,
int  precision 
)
static

Definition at line 192 of file lwout_svg.c.

References assvg_line_buf(), assvg_line_size(), and lwalloc().

Referenced by lwgeom_to_svg().

193 {
194  char *output;
195  int size;
196 
197  size = assvg_line_size(line, relative, precision);
198  output = lwalloc(size);
199  assvg_line_buf(line, output, relative, precision);
200 
201  return output;
202 }
static size_t assvg_line_buf(const LWLINE *line, char *output, int relative, int precision)
Definition: lwout_svg.c:177
static size_t assvg_line_size(const LWLINE *line, int relative, int precision)
Line Geometry.
Definition: lwout_svg.c:166
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: