开发者

BitBlt in Qt4?

What is开发者_JAVA技巧 the recommended method of copying one QImage into another at a particular position in Qt4?

QImage::bitblt was removed in Qt4.

Does the QImage now need to be converted to a PixMap and back?


Use QPainter to draw to your image.

QPainter painter( &targetImage );

painter.drawImage( ... );


From Qt Assistant: "Use copy() or QPainter::drawImage() instead."

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜