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

[REG]: QPainter::drawPolyline() will draw a polygon incorrectly in some cases if a pen width is 0 or 1.

    XMLWordPrintable

    Details

    • Commits:
      qtbase 319cbb7597100f3b65792dc6a0ce2885ce6c0e8c 4.8 6c3b032693acf86a894a8ea3a30c937a1d08ed7f

      Description

      With the attached example if you compare the output to what you get in 5.0.x and 4.8.x then you will see that the two lines should appear in the same place, whereas in Qt 5.1.0 and 4.8.5 the red one is a diagonal.

      This is a regression against Qt 5.0.2 and Qt 4.8.4.

        Attachments

        1. main.cpp
          0.7 kB
        2. main5.cpp
          0.7 kB
        3. main6.cpp
          1 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-31579
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              vgt Eirik Aavitsland
              Reporter:
              andysh Andy Shaw
              Votes:
              3 Vote for this issue
              Watchers:
              15 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: