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

Antialiasing does not work on N900

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 4.7.0
    • None
    • N900 with PR1.3

    Description

      The edges of images not be anti-aliased as expected on N900. The bellow code can reproduce it. This issue also cause the "smooth" property of QML Image Element can't work on N900 (see photoviewer.qml).

       #include <QtGui>
      
       int main(int argc, char **argv)
       {
           QApplication app(argc, argv);
      
           QGraphicsScene scene;
      
           QGraphicsPixmapItem *item = new QGraphicsPixmapItem(QPixmap(":/test.png"));
           item->setTransformationMode(Qt::SmoothTransformation);
           item->rotate(10);
      
           scene.addItem(item);
      
           QGraphicsView view(&scene);
           view.setRenderHint(QPainter::Antialiasing);
           view.setRenderHint(QPainter::SmoothPixmapTransform);
           view.show();
      
           return app.exec();
       }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            luohua luohua
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes