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

List:       kde-commits
Subject:    Re: kdelibs/kstyles/plastik
From:       David Faure <faure () kde ! org>
Date:       2004-09-16 21:52:14
Message-ID: 200409162352.14921.faure () kde ! org
[Download RAW message or body]

On Thursday 16 September 2004 22:49, Sandro Giessl wrote:
> CVS commit by giessl: 
> 
> Keep the old pen and set it when we are done, as suggested by Maksim.
> Seems to work fine and it's a bit faster than save/restore.

You could do the same with the translate() call for which you re-added a save/restore too, BTW.
You can simply store the painter's worldmatrix and restore it - that's still less than the pen,
brush, etc.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

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