Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, March 2002
QPainter & QBitmap


Message 1 in thread

QBitmaps are monochrome.  They also auto-dither when you use a colored QPen
or QBrush on them...
I would like to disable the auto dithering so that when I draw in a very
dark gray color, it draws white instead of black.

Why?  Because I have made a transparent QLabel widget and I use
drawContents() to build up my transparency mask.
An ideas on how to do this correctly?

Maxime Asselin
Programmer-Analyst
Research and Development