Definition at line 529 of file lwout_svg.c.
538 double dx, dy,
x,
y, accum_x, accum_y;
547 if (close_ring) end = pa->
npoints;
553 x = round(pt->
x*f)/f;
554 y = round(pt->
y*f)/f;
558 ptr += sprintf(ptr,
"%s %s l", sx, sy);
565 for (i=1 ; i < end ; i++)
571 x = round(pt->
x*f)/f;
572 y = round(pt->
y*f)/f;
582 ptr += sprintf(ptr,
" %s %s", sx, sy);
#define OUT_DOUBLE_BUFFER_SIZE
int lwprint_double(double d, int maxdd, char *buf)
static const POINT2D * getPoint2d_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
References getPoint2d_cp(), lwprint_double(), POINTARRAY::npoints, OUT_DOUBLE_BUFFER_SIZE, precision, POINT2D::x, pixval::x, POINT2D::y, and pixval::y.
Referenced by assvg_line_buf(), and assvg_polygon_buf().