Friday, July 22, 2005, 20:37:52, Keith, Todd wrote:
> Actually, it looks like simply NOT calling pm_.fill() [which is the
> same as pm_.fill(Qt:;white)] at all should and does work for both Qt3
> and Qt4.
I think to remember (still not sure about this anymore), that I got
drawing errors seemingly caused by uninitialized background (despite the
masks existence) for some graphic-card/Qt-version combination at the
time, when I wrote the code (Qt3.0.?). This behavior was fixable by
introducing the artificial fill.
I think, the pixmap should respect the mask also in the case of a filling
operation. IMO, the whole mask/alpha-channel topic has not yet a completely
unmisleading solution in Qt4.
For general clarification, I filed a (pending) bug report to Trolltech.
Micha
--
|