I have some drawing code for an editor I am working on. It draws a few lines and an image buffer. After adding a zoom features and calling ScaleTransform
I get an OverflowException
thrown in my paint method.
Is something being scaled outside the bounds? My scaling factor is 2.0
and I have even tried 1.0
and making sure all the window sizes / buffers are large enough.