示例#1
0
func (self *Surface) Restore() {
	C.cairo_restore(self.context)
}
示例#2
0
func (c CairoContext) Restore() error {
	C.cairo_restore(c.nativePointer())
	return c.status()
}
示例#3
0
文件: cairo.go 项目: raichu/gotk3
// Restore is a wrapper around cairo_restore().
func (v *Context) Restore() {
	C.cairo_restore(v.native())
}
示例#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()
}