Krita update history7/1/2023 This was ideal we could split up our canvas code. Qt4 came with an OpenGL based QPainter engine. Obviously, implementing all of that twice, once in OpenGL, once with QPainter isn’t ideal. Then we draw the tool decorations: that’s the outline cursor, the line for the straight line or ruler tool and so on. Then we draw the canvas decorations: that’s the selection outline, the guides, the assistants, the reference images and so on. There’s the image projection, that is, the result of combining all the layers, which is drawn first. Krita’s canvas code executes in three phases. OpenGL was fairly simple back then, but we had to duplicate all our canvas handling code, once implemented in OpenGL, once implemented with QPainter. Adrian Page first coded an OpenGL-based canvas implementation for Krita in 2005.
0 Comments
Leave a Reply. |