Surface.copyPage

Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. Use Surface.showPage if you want to get an empty page after the emission. There is a convenience function for this that takes a cairo_t, namely cairo_copy_page(). Since 1.6

class Surface
void
copyPage
()