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. image-2023-09-07-12-06-39-123.png
          645 kB
          yang xiangyu
        2. image-2023-09-07-12-04-48-174.png
          677 kB
          yang xiangyu
        3. CubTo-2.zip
          6 kB
          yang xiangyu
        4. CubTo-1.zip
          6 kB
          yang xiangyu
        5. CubTo.zip
          6 kB
          yang xiangyu
        6. 1694508940004.jpg
          106 kB
          yang xiangyu

        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