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

Cannot turn off antialiasing for Rectangle with radius

    XMLWordPrintable

Details

    • 3a9b01127054901293b177e538eb8cfa3937e9fe

    Description

      In the following example antialiasing has no effect:

      import QtQuick 2.0
      
      Item {
          width: 400; height: 400
          Rectangle {
              width: 100; height: 100
              anchors.centerIn: parent
              color: "green"
              antialiasing: false
          }
      }
      

      Ideally it would be possible to turn off antialiasing.

      Currently reading the antialiasing property also does not always reflect the true state of antialiasing (i.e. if the user has not explicitly set it to false, reading the property does not return 'true' if there is a radius).

      Attachments

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

        Activity

          People

            mbrasser Michael Brasser
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes