Source size | Lines of code | |
---|---|---|
C++ source files | 1.7 M | 63 kloc |
C++ header files | 0.7 M | 22 kloc |
C# source files (without the Magic library) | 1.1 M | 38 kloc |
Total | 3.5 M | 123 kloc |
The VP.Forms.Graphics.DocView and VP.Forms.Graphics.DocViewScrollable handle their internal invalidations with a better precision : when the cursor moves, the only region affected by the invalidation will be the old and new shape of the crosshairs and custom cursor, for instance.
The VP.FrontEnd.Controllers.DocView was reworked to redraw a minimum.
Lots of other classes were updated and slightly modified because of these changes.
Modifier A-TextFrame in order not to render the text when the caller is just doing a graphical hit testing.
Repainting some parts of the document only if the application is idle for some time (not idle based on Windows IDLE pseudo-event, but really idle since 200 ms). This changed a lot the responsiveness of VP.
The A-ImageFrame now first paints into a bitmap cache, then draws the bitmap with a 1:1 ratio onto the graphics context. If the zoom does not change from one time to another, then this speeds up the drawing dramatically.
History of previous months.