How to set QQuickPaintedItem content offset?
QQuickPaintedItem has non virtual contentsBoundingRect method.
But bounding rect could be extended only in size. Is there the way to modify bounding rect by shifting it?
For example, item rect is [0, 0, 10, 10]. I want to set bounding rect to [-5, -5, 15, 15]. Is it possible?
The boundingRect function return an QRectF value. This should be work.
QRectF temp = boundingRect();
Please add [SOLVED] to your thread title if the problem is solved so other forum members can quickly see if this thread helped or not.