Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8373

QPainter drawText Bug.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.6.0
    • GUI: Text handling
    • 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.

      Attachments

        Activity

          People

            sletta Gunnar Sletta
            sunnyshahmca sunny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: