public static Rectangle ToXnaRect(this System.Drawing.Rectangle rect) { return new Rectangle(rect.X, rect.Y, rect.Width, rect.Height); }