I've encountered OverflowException in GraphicsRenderContext.DrawRectangle. The reason as I understand so far, is in the Axis.Scale property, which, at some point, takes a value that is infinitely small. That leads Y values of the rectangle to be infinitely big and cause the OverflowException.
↧