I want to Draw on AndRop Mode
There is a background image, foreground image, and mask image.
I want to make a sprite animation program.
so I need function of setRasterop. but there is no setRasterOp in qt4
How can I draw bmp files in AndRop mode?
or How can I implement sprite animation on qt4?
Re: I want to Draw on AndRop Mode
Quote:
Originally Posted by
aloneness
so I need function of setRasterop. but there is no setRasterOp in qt4
In Qt4 it's called "composition mode". Note that it works only with QImages (on all platforms) and QPixmaps (on X11 and windows).
http://doc.trolltech.com/qq/qq17-compositionmodes.html
Quote:
Originally Posted by
aloneness
How can I implement sprite animation on qt4?
Use QGraphicsView.
http://doc.trolltech.com/qq/qq19-graphicsview.html