You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are rough notes. This issue will need to be updated or replaced.
Draw background to a bitmap (background colour, gradient, grid etc.) and then blit the bitmap rather than redrawing it each time. The background will only need to be redrawn on a scale or grid change.
Use wxDC (i.e. not wxGraphicsContext or wxGCDC) for drawing the background. The grid looks better non-antialiased anyway.
Draw text on wxDC rather than a graphics context. Drawing text on a graphics context double anti-aliases the text and it looks weird as well as being slower.
When dragging multiple objects, draw them onto a transparent bitmap and move the bitmap.
When scrolling, only draw the objects that are appearing on the page, the rest can be blitted.
Zooming, using a bitmap rather than a complete redraw ala Google maps, Visio etc.
The text was updated successfully, but these errors were encountered:
These are rough notes. This issue will need to be updated or replaced.
The text was updated successfully, but these errors were encountered: