Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.1
-
Qt Creater 3.5.1, Windows 7 64-Bit
-
c1938ddbb4 (qt/qtdeclarative/dev) 6821f7023f (qt/qtdeclarative/6.2) 0d0499dfc9 (qt/qtdeclarative/6.3) 6821f7023f (qt/tqtc-qtdeclarative/6.2) 0d0499dfc9 (qt/tqtc-qtdeclarative/6.3) 6821f7023f (qt/qtdeclarative/6.2.3) 1c2a34f376 (qt/tqtc-qtdeclarative/5.15)
Description
The arcTo function of a 2d context doesn't get drawn for all values. Two examples to demonstrate that:
// Visible: ctx.moveTo(120.33333333333333, 180.5); ctx.arcTo(120.33333333333333, 240.66666666666666, 180.5, 240.66666666666666, 60.166666666666664); ctx.stroke(); // Not visible: ctx.moveTo(120.66666666666667, 181); ctx.arcTo(120.66666666666667, 241.33333333333334, 181, 241.33333333333334, 60.333333333333336); ctx.stroke();
Check the issue on Stackoverflow: http://stackoverflow.com/questions/33303122
Attachments
For Gerrit Dashboard: QTBUG-49049 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
385472,5 | Fix edge cases in arcTo | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
388620,2 | Fix edge cases in arcTo | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
388621,2 | Fix edge cases in arcTo | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
388625,2 | Fix edge cases in arcTo | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |