internal static extern void cairo_path_extents(IntPtr cr, out double x1, out double y1, out double x2, out double y2);
public Rectangle PathExtents() { CheckDisposed(); double x1, y1, x2, y2; NativeMethods.cairo_path_extents(handle, out x1, out y1, out x2, out y2); return(new Rectangle(x1, y1, x2 - x1, y2 - y1)); }