// ResetClip is a wrapper around cairo_reset_clip(). func (v *Context) ResetClip() { C.cairo_reset_clip(v.native()) }
func (self *Surface) ResetClip() { C.cairo_reset_clip(self.context) }
//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 }