Adrian on Painters and Qt4

Boudewijn Rempt boud at valdyas.org
Tue Sep 19 13:01:57 CEST 2006


On Tuesday 19 September 2006 12:56, Casper Boemann wrote:
> On Tuesday 19 September 2006 12:50, Thomas Zander wrote:
> > On Tuesday 19 September 2006 11:11, Boudewijn Rempt wrote:
> > > Don't forget grids, guides and similar things that are neither
> > > annotations, nor tool things, nor document data.
> >
> > Those things are canvas specific and should be drawn last.
> > What I had in mind (but I have not really gone into) is to add rulers,
> > grid etc to the KoCanvasController decorator class (which is in flake) so
> > we can paint all this in the correct way without forcing everyone to
> > implement it in their app-canvas class.
> >
> > I have not gotten around to this yet, but I do believe it would be the
> > best solution.
>
> huh - who says a flake canvas will have these things. At least in krita it
> won't
>
> In krita the flake canvas will have to be a temporary one only present in
> mem.

That doesn't mean it doesn't make sense to use KoCanvasBase for our 
specialized Krita canvas objects and have KoCanvasController control the 
scrollbars, rulers etc. 

However, in that case, I think it would make sense to move KoCanvasBase and 
related classes to another place, to avoid confusion.

-- 
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/2f67da5a/attachment.pgp 


More information about the kimageshop mailing list