Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How to set QQuickPaintedItem content offset?

$
0
0
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?

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images