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

QPainter ignores QBrush's scaling and rotation set with QTransform

    XMLWordPrintable

Details

    • Windows
    • 5adaa8d868b6718e07035152351b14449cea95d3 f67d89ebde22bdef6d82f7a613f7f0fac794dd45

    Description

      Creating a brush with style and setting a QTransform to it that attempts to change either scaling or rotation is ignored by QPainter when painter is rendering something (for example rects).

      In the sample, right side rectangle should be scaled or rotated, which ever is chosen from the code. Scaled by default.

      This also reproduces in Qt 5.12.x and likely before that.

      Attachments

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              jussi_witick Jussi Witick
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes