QT: Painting bitmap/PNG images to a QWidget?

Some QPainter::drawPixmap() variants has the option to specify the rectangle in the pixmap to be drawn. This will help you keeping the sprite sheets without breaking them up into small images.

Some QPainter::drawPixmap() variants has the option to specify the rectangle in the pixmap to be drawn. This will help you keeping the sprite sheets without breaking them up into small images. For repeated sprites, QPainter::drawPixmapFragments() probably will have better performance and also allow sub-image drawing.

Awesome, I actually found basically the same solution. QPainter::drawPixmap(QRectF, QPixmap, QRectF) was very handy. Thanks for the help.

– mtmurdock Apr 18 at 17:29.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions