StupidBeauty
Read times:1322Posted at:Wed Jul 27 23:02:37 2011
- no title specified

Qt4.7.0文档翻译: QPixmap QPixmap::scaledToWidth ( int width , Qt::TransformationMode mode = Qt::FastTransformation ) const

QPixmap QPixmap::scaledToWidth ( int width , Qt::TransformationMode mode = Qt::FastTransformation ) const

返回此图片的一个缩放之后的复件。返回的图片会按照指定的变换模式 mode )缩放到指定的宽度( width )。位图的高度被自动计算 ,以保持位图的纵横比不变

如果宽度 width )为0 或负数的话,会返回一个空白的位图

参见 isNull ()和 位图变换

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands