Example #1
0
func (self *Surface) Restore() {
	C.cairo_restore(self.context)
}
Example #2
0
func (c CairoContext) Restore() error {
	C.cairo_restore(c.nativePointer())
	return c.status()
}
Example #3
0
// Restore is a wrapper around cairo_restore().
func (v *Context) Restore() {
	C.cairo_restore(v.native())
}
Example #4
0
//Restore the last drawing state saved with Save and
//remove that state from the stack of saved states.
//
//It is malformed to call Restore without a previous call to Save.
//
//Originally cairo_restore.
func (c *Context) Restore() error {
	C.cairo_restore(c.c)
	return c.Err()
}