[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Repaint strategy for 2.0
From:       Thomas Zander <zander () kde ! org>
Date:       2006-05-23 19:54:03
Message-ID: 200605232154.14920.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 23 May 2006 21:33, Boudewijn Rempt wrote:
> > I think the flake way of doing things are the most correct.
> >
> > This involves calling update with the right cliprect whenever
> > something needs to be repainted.
> > The paint method will then paint everything thats needed to be
> > painted.
>
> Well, that's the short version, of course. But life is a little more
> complicated. We've got the image projection that needs to be updated,
> and preferably kept updated. We've got the blobs on top of the projects
> (guides, grids, masks). We've got OpenGL and plain QPainter -- and need
> to keep both possibilities. Currently, the widget that displays the
> projection doesn't even know it's got a projection.

If you read my mail on koffice-devel about the repaint manager in flake, 
(sent 02/05/06 10:26) I guess you can take some ideas from that.
It basically makes shapes have a paint-buffer of the current resolution 
and shape.
-- 
Thomas Zander

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic