Shape and Canvas Performance
-
I am implementing some custom custom graphing components in our Qt application (QML) and I was wondering if anyone had advice on the most performant of the following two solutions:
Using
Shape
components with correspondingShapePath
for drawing the relevant parts
or
UsingCanvas
components with correspondingPath
+ onPaint for drawing relevant parts.The intention will be to have possibly 100's of these
Canvas
orShape
components on screen at once (dynamically added and removed as needed) and I from my reading I believeShape
might struggle with having many on screen at one time despite it being the "newer" solution (please correct if I am wrong)Any advise will be sincerely appreciated.
-
hi @JW3153
I can't really recommend either, as I don't know enough about them. But I would like to add to the confusion and add a 3rd option
:)