public static RectangleD ToPintaRectangleD (this Cairo.Rectangle r) { return new RectangleD (r.X, r.Y, r.Width, r.Height); }