Exemplo n.º 1
0
 internal static extern void cairo_region_get_rectangle(IntPtr region, int nth, out RectangleInt rectangle);
Exemplo n.º 2
0
 internal static extern Status cairo_region_xor_rectangle(IntPtr dst, ref RectangleInt rectangle);
Exemplo n.º 3
0
 internal static extern IntPtr cairo_region_create_rectangle(ref RectangleInt rect);
Exemplo n.º 4
0
 internal static extern void cairo_region_get_extents(IntPtr region, out RectangleInt extents);
Exemplo n.º 5
0
 public Region(RectangleInt rect)
 {
     handle = NativeMethods.cairo_region_create_rectangle(ref rect);
 }
Exemplo n.º 6
0
 internal static extern RegionOverlap cairo_region_contains_rectangle(IntPtr region, ref RectangleInt rectangle);
Exemplo n.º 7
0
 public Status XorRectangle(RectangleInt rectangle)
 {
     return(NativeMethods.cairo_region_xor_rectangle(Handle, ref rectangle));
 }
Exemplo n.º 8
0
 public Status UnionRectangle(RectangleInt rectangle)
 {
     return(NativeMethods.cairo_region_union_rectangle(Handle, ref rectangle));
 }
Exemplo n.º 9
0
 public Status IntersectRectangle(RectangleInt rectangle)
 {
     return(NativeMethods.cairo_region_intersect_rectangle(Handle, ref rectangle));
 }
Exemplo n.º 10
0
 public Status SubtractRectangle(RectangleInt rectangle)
 {
     return(NativeMethods.cairo_region_subtract_rectangle(Handle, ref rectangle));
 }
Exemplo n.º 11
0
 public RegionOverlap ContainsPoint(RectangleInt rectangle)
 {
     return(NativeMethods.cairo_region_contains_rectangle(Handle, ref rectangle));
 }