// Polyline draws a polygon using coordinates in x, y func Polyline(x, y []float64, style ...string) { px, py, np := poly(x, y) if np > 0 { C.Polyline(px, py, np) } }
// Polyline draws a polyline with coordinates in x, y func Polyline(x, y []VGfloat) { px, py, np := poly(x, y) if np > 0 { C.Polyline(px, py, np) } }