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

    • qtbase 319cbb7597100f3b65792dc6a0ce2885ce6c0e8c 4.8 6c3b032693acf86a894a8ea3a30c937a1d08ed7f

      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.

        1. main.cpp
          0.7 kB
          Andy Shaw
        2. main5.cpp
          0.7 kB
          Jochen Roemmler
        3. main6.cpp
          1 kB
          Jochen Roemmler
        For Gerrit Dashboard: QTBUG-31579
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: