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