// CopyPage is a wrapper around cairo_copy_page(). func (v *Context) CopyPage() { C.cairo_copy_page(v.native()) }
func (self *Surface) CopyPage() { C.cairo_copy_page(self.context) }
//CopyPage emits the current page for backends that support multiple pages, //but doesn't clear it, so, the contents of the current page will be retained //for the next page too. // //Use ShowPage if you want to get an empty page after the emission. // //This is a convenience function that simply calls CopyPage on c's target. // //Originally cairo_copy_page. func (c *Context) CopyPage() *Context { C.cairo_copy_page(c.c) return c }