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

QPainter draws Bezier curves incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 5.12, 5.15, 6.2, 6.5
    • GUI: Painting
    • None
    • All

    Description

      When using QPainter to draw the Bezier curve, if the width of the QPen's width is 4, and the scale calculation of the coordinate system, it will be found that the width of the two Bezier curves is not consistent. But if QPen uses Qt::DashLine, their widths will look the same.

       

      Attachments

        1. 1694508940004.jpg
          1694508940004.jpg
          106 kB
        2. CubTo.zip
          6 kB
        3. CubTo-1.zip
          6 kB
        4. CubTo-2.zip
          6 kB
        5. image-2023-09-07-12-04-48-174.png
          image-2023-09-07-12-04-48-174.png
          677 kB
        6. image-2023-09-07-12-06-39-123.png
          image-2023-09-07-12-06-39-123.png
          645 kB

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              amos yang xiangyu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes