Context.copyPage

void 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 [cairo.context.Context.showPage] if you want to get an empty page after the emission.

This is a convenience function that simply calls [cairo.surface.Surface.copyPage] on cr's target.