Details
Description
The code attached demonstrates the issue. In the three functions, the reported number of items equals the count of what I pass into the methods. But the methods don't get anything but the first items in every case.
The code prints the following:
drawPoints: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 drawPolygon: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 mode = <PolygonDrawMode.PolylineMode: 3> drawPolygon: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 mode = <PolygonDrawMode.PolylineMode: 3> drawPolygon: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 mode = <PolygonDrawMode.OddEvenMode: 0> drawPolygon: points = PySide6.QtCore.QPoint(1, 2) pointCount = 2 mode = <PolygonDrawMode.OddEvenMode: 0> drawRects: rects = PySide6.QtCore.QRect(1, 1, 1, 1) rectCount = 2
Whatever I pass to the functions, the result is essentially the same. The first item I provide is drawn, the others vanish. So, do I miss anything?
Attachments
Issue Links
- is duplicated by
-
PYSIDE-891 Cannot implement QPaintEngine.drawPolygon drawLines, drawPoints or drawRects in Python
-
- Closed
-
- relates to
-
PYSIDE-2602 TypeError: WebEnginePage.javaScriptPrompt() takes 4 positional arguments but 5 were given
-
- Closed
-