Esempio n. 1
0
// Rect draws a rectangle at (x,y) with dimensions (w,h)
func Rect(x, y, w, h float64, style ...string) {
	C.Rect(C.VGfloat(x), C.VGfloat(y), C.VGfloat(w), C.VGfloat(h))
}
Esempio n. 2
0
// Rect draws a rectangle at (x,y) with dimesions (w,h)
func Rect(x, y, w, h VGfloat) {
	C.Rect(C.VGfloat(x), C.VGfloat(y), C.VGfloat(w), C.VGfloat(h))
}