Ejemplo n.º 1
0
// Line draws a line between two points
func Line(x1, y1, x2, y2 float64, style ...string) {
	C.Line(C.VGfloat(x1), C.VGfloat(y1), C.VGfloat(x2), C.VGfloat(y2))
}
Ejemplo n.º 2
0
// Line draws a line between two points
func Line(x1, y1, x2, y2 VGfloat) {
	C.Line(C.VGfloat(x1), C.VGfloat(y1), C.VGfloat(x2), C.VGfloat(y2))
}