예제 #1
0
파일: cairo.go 프로젝트: raichu/gotk3
// ResetClip is a wrapper around cairo_reset_clip().
func (v *Context) ResetClip() {
	C.cairo_reset_clip(v.native())
}
예제 #2
0
파일: surface.go 프로젝트: ungerik/go-cairo
func (self *Surface) ResetClip() {
	C.cairo_reset_clip(self.context)
}
예제 #3
0
파일: cairo.go 프로젝트: jimmyfrasche/cairo
//ResetClip resets the current clip region to its original, unrestricted state.
//That is, set the clip region to an infinitely large shape containing
//the target surface.
//Equivalently, one can imagine the clip region being reset to the exact bounds
//of the target surface.
//
//Note that code meant to be reusable should not call ResetClip as it will
//cause results unexpected by higher-level code which calls ResetClip.
//Consider using Save and Restore around Clip as a more robust means of
//temporarily restricting the clip region.
//
//Originally cairo_reset_clip.
func (c *Context) ResetClip() *Context {
	C.cairo_reset_clip(c.c)
	return c
}