Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.13.2, 5.14.0, 5.14.1
-
None
-
Tested on Ubuntu 16.04 and Ubuntu 18.04 and Python3.5, 3.7 and 3.8.
Description
Hey Qt team,
I'm trying to convert a QGraphicsEllipseItem to a QPainterPath by using the shape() function.
When I set the span angle to 360 degrees I get the right shape. But when I use a lower degree (e. g. 359, 180 or 90) I get a strange shape.
I attached a picture for better understanding.
Red is what I want and blue is what I get.
I attached a minimal example so you can reproduce it.
I also get the same behavior with PyQt5.
Kind regards,
Nico
Attachments
Issue Links
- relates to
-
QTBUG-83644 QGraphicsPathItem generates shape incorrectly
- Reported