in qt3 we have bilBlt function for copy one PaintDevice to another, so if i dont know main type of paintdevice how can i copy its content in qt4, however, you mean if i know the main type i can cast it like this?
destpainter.drawImage(0,0, (QImage) (*((QImage*)sourcepainter->device()));
and if i havent paint device type i must using qt3support or another option?
Bookmarks