if the compound curve does not start with a line, we need to skip the first point since it is the same as previous point of previous curve
in theory this should never happen
Definition at line 261 of file lwout_svg.c.
262{
263 uint32_t i;
267
269
270 for (i = 0; i < icompound->
ngeoms; i++)
271 {
273 geom = icompound->
geoms[i];
274
276 {
280 break;
281
284
285 if (i){
289 if (relative)
291 else
293 }
294 else {
295 if (relative)
297 else
299 }
300 break;
301
302 default:
303 break;
304 }
305 }
306}
static void pointArray_svg_rel(stringbuffer_t *sb, const POINTARRAY *pa, int close_ring, int precision, int start_at_index)
static void pointArray_svg_arc(stringbuffer_t *sb, const POINTARRAY *pa, int close_ring, int relative, int precision)
static void pointArray_svg_abs(stringbuffer_t *sb, const POINTARRAY *pa, int close_ring, int precision, int start_at_index)
Returns maximum size of rendered pointarray in bytes.
static void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
References CIRCSTRINGTYPE, LWCOMPOUND::geoms, LINETYPE, LWCOMPOUND::ngeoms, pointArray_svg_abs(), pointArray_svg_arc(), pointArray_svg_rel(), LWLINE::points, LWCIRCSTRING::points, precision, stringbuffer_append(), and LWGEOM::type.
Referenced by assvg_curvepoly(), assvg_geom(), and lwgeom_to_svg().