diff --git a/cairo/Context.cs b/cairo/Context.cs index fd3ea3c72..a5902e8c9 100644 --- a/cairo/Context.cs +++ b/cairo/Context.cs @@ -314,6 +314,13 @@ namespace Cairo { } } + public bool HasCurrentPoint { + get { + CheckDisposed (); + return NativeMethods.cairo_has_current_point (handle); + } + } + [Obsolete ("Use GetTarget/SetTarget")] public Cairo.Surface Target { set { @@ -538,12 +545,6 @@ namespace Cairo { NativeMethods.cairo_append_path (handle, path.Handle); } - public void PathExtents (out double x1, out double y1, out double x2, out double y2) - { - CheckDisposed (); - NativeMethods.cairo_path_extents (handle, out x1, out y1, out x2, out y2); - } - #endregion #region Painting Methods @@ -1024,17 +1025,5 @@ namespace Cairo { return extents; } - - public static int FormatStrideForWidth (Format format, int width) - { - return NativeMethods.cairo_format_stride_for_width (format, width); - } - - public bool HasCurrentPoint { - get { - CheckDisposed (); - return NativeMethods.cairo_has_current_point (handle); - } - } } }