diff --git a/Source/Libs/CairoSharp/Context.cs b/Source/Libs/CairoSharp/Context.cs index 05240fe33..6efd21879 100755 --- a/Source/Libs/CairoSharp/Context.cs +++ b/Source/Libs/CairoSharp/Context.cs @@ -620,6 +620,14 @@ namespace Cairo { NativeMethods.cairo_clip (handle); } + public Rectangle ClipExtents() + { + CheckDisposed(); + double x1, y1, x2, y2; + NativeMethods.cairo_clip_extents(handle, out x1, out y1, out x2, out y2); + return new Rectangle(x1, y1, x2 - x1, y2 - y1); + } + public void ClipPreserve () { CheckDisposed (); diff --git a/Source/Libs/GtkSharp/GtkSharp.metadata b/Source/Libs/GtkSharp/GtkSharp.metadata index e8c1db5d8..b6f93a5f8 100755 --- a/Source/Libs/GtkSharp/GtkSharp.metadata +++ b/Source/Libs/GtkSharp/GtkSharp.metadata @@ -847,6 +847,7 @@ 1 ProcessEvent out + out out GdkEventMask GetIsMapped