Esempio n. 1
0
func (self *Surface) Save() {
	C.cairo_save(self.context)
}
Esempio n. 2
0
func (c CairoContext) Save() error {
	C.cairo_save(c.nativePointer())
	return c.status()
}
Esempio n. 3
0
// Save is a wrapper around cairo_save().
func (v *Context) Save() {
	C.cairo_save(v.native())
}
Esempio n. 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
}