Hi all,

is there a way one can adjust the initial size of a QGraphicsSvgItem without using QGraphicsItem::scale(sx, sy)?

The problem is that I subsequently assign some children to this item which then inherit the transformation matrix of their parent, hence are also scaled. I need to set the initial size of my QGraphicsSvgItem before I assign its children and without changing their transformation matrices also.

FYI, I'm migrating from QGraphicsPixmapItems to QGraphicsSvgItems. Using QGraphicsPixmapItem I could just resize its pixmap before assigning it to the item. Thus the item's size reflected the size of the pixmap - a similar resizing doesn't seem to be possible with QSvgRenderer...


Thanks,
para