internal static extern void cairo_region_get_rectangle(IntPtr region, int nth, out RectangleInt rectangle);
internal static extern Status cairo_region_xor_rectangle(IntPtr dst, ref RectangleInt rectangle);
internal static extern IntPtr cairo_region_create_rectangle(ref RectangleInt rect);
internal static extern void cairo_region_get_extents(IntPtr region, out RectangleInt extents);
public Region(RectangleInt rect) { handle = NativeMethods.cairo_region_create_rectangle(ref rect); }
internal static extern RegionOverlap cairo_region_contains_rectangle(IntPtr region, ref RectangleInt rectangle);
public Status XorRectangle(RectangleInt rectangle) { return(NativeMethods.cairo_region_xor_rectangle(Handle, ref rectangle)); }
public Status UnionRectangle(RectangleInt rectangle) { return(NativeMethods.cairo_region_union_rectangle(Handle, ref rectangle)); }
public Status IntersectRectangle(RectangleInt rectangle) { return(NativeMethods.cairo_region_intersect_rectangle(Handle, ref rectangle)); }
public Status SubtractRectangle(RectangleInt rectangle) { return(NativeMethods.cairo_region_subtract_rectangle(Handle, ref rectangle)); }
public RegionOverlap ContainsPoint(RectangleInt rectangle) { return(NativeMethods.cairo_region_contains_rectangle(Handle, ref rectangle)); }