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

QPainter ignores QBrush's scaling and rotation set with QTransform

XMLWordPrintable

    • Windows
    • 5adaa8d868b6718e07035152351b14449cea95d3 f67d89ebde22bdef6d82f7a613f7f0fac794dd45

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes