Method cairo_surface_destroy
cairo_surface_destroy(nint)
Destroys a Cairo surface and frees associated resources.
public static extern void cairo_surface_destroy(nint surface)
Parameters
surfacenintPointer to a
cairo_surface_tto destroy.
Remarks
After calling this, the surface pointer must not be used.