Hello, I have a weird issue with System.Drawing in a large NSView (more than 1500 pixels height).
The NSView (DrawingView) is inside a scroll view.
Depending on the width of the view, the content repeats at a variable interval on the Y-axis (width = 768 repeats every approx. 1500 pixel, width = 769 repeats every approx. 2000 pixel, repeat interval increases up until 3000 pixels). So drawing something a Y position 200 will also show up at Y position 1700 and 3200 and so on.
I'm attempting to draw a DNA sequence which will be around 20000 pixels in height. The scrollview then manages scrolling the very tall NSView.
The VisibleRect();
and EnclosingScrollView.DocumentVisibleRect;
methods return the correct rectangle for a 20000 pixel tall NSView. The Frame.Height
property of the NSView is also correct.
Do anyone know what is going on with the repeating content?