Adrian on Painters and Qt4

Boudewijn Rempt boud at valdyas.org
Tue Sep 19 13:49:25 CEST 2006


On Tuesday 19 September 2006 13:34, Thomas Zander wrote:
> On Tuesday 19 September 2006 13:15, Cyrille Berger wrote:
> > hum no I don't agree tools drawing should be on top of the grids
>
> As the painting of the flake objects and the tool are different calls made
> from the canvas, we can place the repainting of the document grid somewhere
> else in the stack if you like.
> No worries :-)

Especially since this bit hasn't been coded yet. I think Cyrille is right 
though: the order ought to be:

content (flakes for KWord, rendered layerstack for Krita)
grids, rulers, guides, meshes, nets, selection masks
tool decorations

One thing that worries me a bit is the OpenGL here. I know that 
KoCanvasController will draw its thing using QPainter, and that that works 
fine for Qt's OpenGL widget. But if there are cool things that can be done 
using OpenGL but cannot be done using QPainter -- where do we do that? Maybe 
we'll need to add some hooks or something for that, later, when we need it.
-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20060919/b2ce76e6/attachment.pgp 


More information about the kimageshop mailing list