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

List:       koffice-devel
Subject:    Re: Caching of shapes
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2007-10-30 18:00:27
Message-ID: 200710301900.28981.boud () valdyas ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 30 October 2007, Johannes Simon wrote:
> Am Dienstag, den 30.10.2007, 16:59 +0100 schrieb Thomas Zander:
> > On Tuesday 30 October 2007 16:50:54 Boudewijn Rempt wrote:
> > > The big problem if you cache the shape as a QPixmap per shape, you
> > > will lose transparency when painting the shapes.
> >
> > AFAIK pixmaps can be transparent.
>
> Quote from doc.trolltech.com:
> "Depending on the system, QPixmap is stored using a RGB32 or a
> premultiplied alpha format. If the image has an alpha channel, and if the
> system allows, the preferred format is premultiplied alpha." So we
> apparently do have transparency support in a QPixmap.

Oh -- cool! That must be pretty new. Now we only should know when the alpha 
channel is supported.


-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi

["signature.asc" (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


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

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