func (v *Surface) CreateForRectangle(x, y, width, height float64) *Surface {
	c := C.cairo_surface_create_for_rectangle(v.native(), C.double(x),
		C.double(y), C.double(width), C.double(height))
	s := wrapSurface(c)
	runtime.SetFinalizer(s, (*Surface).destroy)
	return s
}
func (v *Surface) CreateForRectangle(x, y, width, height float64) *Surface {
	c := C.cairo_surface_create_for_rectangle(v.native(), C.double(x),
		C.double(y), C.double(width), C.double(height))
	s := wrapSurface(c)
	runtime.SetFinalizer(s, (*Surface).destroy)
	return s
}
func ( v * Surface ) CreateForRectangle ( x , y , width , height float64 ) * Surface { c := C . cairo_surface_create_for_rectangle ( v . native ( ) , C . double ( x ) , C . double ( y ) , C . double ( width ) , C . double ( height ) ) s := wrapSurface ( c ) runtime . SetFinalizer ( s , ( * Surface ) . destroy ) return s }
// TODO cairo_surface_create_similar_image (since 1.12)
// CreateForRectangle is a wrapper around cairo_surface_create_for_rectangle().
TODO cairo_surface_create_similar_image ( since 1 . 12 ) CreateForRectangle is a wrapper around cairo_surface_create_for_rectangle () .