摘要:
函数声明:void QPainter::drawImage ( const QRectF & target, const QImage & image, const QRectF & source, Qt::ImageConversionFlags flags = Qt::AutoColor )举例:QRectF target(10.0, 20.0, 80.0, 60.0); //建立目标矩形QRectF source(0.0, 0.0, 70.0, 40.0); //建立源矩形,用来框定源图像文件中要显示的部分QImage image(":/images/m 阅读全文