コード例 #1
0
ファイル: surface.go プロジェクト: ungerik/go-cairo
func (self *Surface) Restore() {
	C.cairo_restore(self.context)
}
コード例 #2
0
ファイル: cairo.go プロジェクト: tryandbuy/cups-connector
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
ファイル: cairo.go プロジェクト: jimmyfrasche/cairo
//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()
}