PostGIS  3.0.0dev-r@@SVN_REVISION@@

◆ assvg_line()

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

Definition at line 182 of file lwout_svg.c.

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

Referenced by lwgeom_to_svg().

183 {
184  char *output;
185  int size;
186 
187  size = assvg_line_size(line, relative, precision);
188  output = lwalloc(size);
189  assvg_line_buf(line, output, relative, precision);
190 
191  return output;
192 }
static size_t assvg_line_buf(const LWLINE *line, char *output, int relative, int precision)
Definition: lwout_svg.c:167
uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_line_size(const LWLINE *line, __attribute__((__unused__)) int relative, int precision)
Line Geometry.
Definition: lwout_svg.c:156
void * lwalloc(size_t size)
Definition: lwutil.c:227
Here is the call graph for this function:
Here is the caller graph for this function: