Qt QPainter drawPixmap 画double类型矩形(QRectF)

QPainter painter;
QImage image;
painter.drawPixmap(QRectF(x,y,w,h),QPixmap::fromImage(image),QRectF());

你可能感兴趣的:(qt,开发语言)