示例#1
0
func (self *Surface) Save() {
	C.cairo_save(self.context)
}
示例#2
0
func (c CairoContext) Save() error {
	C.cairo_save(c.nativePointer())
	return c.status()
}
示例#3
0
文件: cairo.go 项目: raichu/gotk3
// Save is a wrapper around cairo_save().
func (v *Context) Save() {
	C.cairo_save(v.native())
}
示例#4
0
//Save makes a copy of the current drawing state on an internal stack
//of drawing states.
//
//Further calls on c will affect the current state but no saved states.
//A call to Restore returns c to the state it was in at the last invocation
//of Save.
//
//Originally cairo_save.
func (c *Context) Save() *Context {
	C.cairo_save(c.c)
	return c
}