Not sure: off screen drawing? in c++?
Solved
QML and Qt Quick
-
Hello,
For my application, I need to test different solutions off screen .
Think of it like a puzzle (but my app is not about it): I create the puzzle off screen, make a lot of tests with collisions (boundingRect..), shapes, transforms and when satisfied with the result, send it to a canvas or whatever so that the user sees it.
It doesn't matter how long it takes as far as it is not longer than 10 seconds (the user is presented with a waiting animation).I read that QtQuick is better than QPainter but is it able to fulfill my need (offscreen test)?
New to it.
Thank you!
-
Have you looked at Box2D to analyze collisions between shapes, that's what I would use instead of painting stuff like QQuickPaintedItem or QGraphicsScene.