cairo_surface_flush.Rd
Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state. This function must be called before switching from drawing on the surface with cairo to drawing on it directly with native APIs, or accessing its memory outside of Cairo. If the surface doesn't support direct access, then this function does nothing.
cairo_surface_flush(surface)
surface | [ |
---|
Since: 1.0
C function prototype: void cairo_surface_flush (cairo_surface_t *surface)
Other cairo-surface:
cairo_surface_finish()