Method cairo_surface_flush
cairo_surface_flush(nint)
Flushes any pending drawing operations for the specified surface and synchronizes the surface contents with its memory buffer.
public static extern void cairo_surface_flush(nint surface)
Parameters
surfacenintPointer to the
cairo_surface_tto flush.
Remarks
Useful when the surface's backing store is shared with native code and explicit synchronization is required.