Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.6.0
-
None
-
Ubuntu 9.04.
Description
unsigned char* arr[480 * 272 * 4]
QImage img(arr,480,272,QImage::Format::ARGB32);
QPainter p(&img);
p.DrawText(QRect(0,0,480,272),"Hello World", Qt::AlignVCenter);
Here the text will be drawn in format of QImage::Format_ARGB32_Premultiplied rather than QImage::Format_ARGB32.