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