Dear borisbn,
In line 6 of your program, the QPixmap must be replaced with QBitmap to reproduce the program.
That is because I want to use the bitmap as a mask of the brush.
You can choose a monochrome picture to build the bitmap.
Actually, when I use QPixmap, the drawing performance is excellent (the same as yours).
But when I use QBitmap, the performance degrades a lot.
I think that it should be related to transparent drawing.
By the way, I can reproduce the problem in Qt4.6, too.
Thanks.![]()
Bookmarks