标签:方便 word 技术 code number keyword lang nat draw
...
painter.drawImage(0, 0, destinationImage);
painter.setCompositionMode(QPainter::CompositionMode_DestinationOver);
painter.drawImage(0, 0, sourceImage);
...
通过函数setCompositionMode()的参数传递QPainter::CompositionMode_DestinationOver常量值,目标(Destination)的Alpha值被标记到源(Source)像素。
http://blog.csdn.net/u011012932/article/details/51656311
Qt之图形(Source和Dest相互覆盖的取舍,真的很方便)
标签:方便 word 技术 code number keyword lang nat draw
原文地址:http://www.cnblogs.com/findumars/p/6009629.html