/// <summary>
/// Return a rectangle of our coordinates
/// </summary>
/// <param name="topLeft"></param>
/// <param name="bottomRight"></param>
/// <returns></returns>
public Rectangle ConvertRectangle(PointF topLeft, PointF bottomRight)
{
Point topLeftXY = ConvertPoint(topLeft);
Point bottomRightXY = ConvertPoint(bottomRight);
return(Rectangle.FromLTRB(Math.Min(topLeftXY.X, bottomRightXY.X), Math.Min(topLeftXY.Y, bottomRightXY.Y), Math.Max(topLeftXY.X, bottomRightXY.X), Math.Max(topLeftXY.Y, bottomRightXY.Y)));
}