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

QPainter drawArc has bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2
    • GUI: Painting
    • None
    • Windows

       

      painter->drawArc(RectBuffForPos, 45*16,180*16);

      the actual startAngle is more than 45°,see the first picture(the black line draw by hand)。

       

      painter->drawArc(RectBuffForPos, 45*16,270*16);

      see the second picture,the origin coordinates is on the left and no in center。only square is in center。

       

      the test app is drawArcTest.rar file.

       

       

       

       

       

       

        1. 微信截图_20210323142206.png
          9 kB
          xie shaofeng
        2. 微信图片_20210323154736.png
          9 kB
          xie shaofeng
        3. drawArcTest.rar
          4 kB
          xie shaofeng
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            fengshaoxie xie shaofeng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes