PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ assvg_multiline()

static void assvg_multiline ( stringbuffer_t sb,
const LWMLINE mline,
int  relative,
int  precision 
)
static

Definition at line 347 of file lwout_svg.c.

348 {
349  const LWLINE *line;
350  uint32_t i;
351 
352  for (i = 0; i<mline->ngeoms; i++)
353  {
354  if (i) stringbuffer_append(sb, " "); /* SVG whitespace Separator */
355  line = mline->geoms[i];
356  assvg_line(sb, line, relative, precision);
357  }
358 }
static uint8_t precision
Definition: cu_in_twkb.c:25
static void assvg_line(stringbuffer_t *sb, const LWLINE *line, int relative, int precision)
Definition: lwout_svg.c:152
static void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
Definition: stringbuffer.h:105
LWLINE ** geoms
Definition: liblwgeom.h:547
uint32_t ngeoms
Definition: liblwgeom.h:552

References assvg_line(), LWMLINE::geoms, LWMLINE::ngeoms, precision, and stringbuffer_append().

Referenced by assvg_geom(), and lwgeom_to_svg().

Here is the call graph for this function:
Here is the caller graph for this function: