// ClipRect limits the drawing area to specified rectangle func ClipRect(x, y, w, h int) { C.ClipRect(C.VGint(x), C.VGint(y), C.VGint(w), C.VGint(h)) }
func (b *Backend) ClipRect(rect image.Rectangle) { C.ClipRect(b.r, toCRect(rect)) }