Method cairo_create
cairo_create(nint)
Creates a new cairo_t drawing context for the given target surface.
public static extern nint cairo_create(nint target)
Parameters
targetnintPointer to the target surface (for example, a GDK/GTK surface).
Returns
- nint
Pointer to the newly created
cairo_t. ReturnsIntPtr.Zeroon failure. The caller is responsible for calling cairo_destroy(nint) when finished.