Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.1
Description
There is inconsistency in pixel drawing if a user draws a line left->right and right->left with CapStyle FlatCap.
As FlatCap does not cover the endpoints of the line, it works fine for direction left->right, top->bottom, bottom->top. But if user draws a line from right->left, even endpoints are drawn.
I am attaching a sample project stating the problem, you can see that line left->right and right->left has a difference in pixel drawn.
Attachments
For Gerrit Dashboard: QTBUG-70101 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
238540,3 | QPainter cosmetic stroker: Fix painting error for FlatCap lines | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |