Qt

QGraphicsSvgItem->shape() returns the bounding box and ignores transparent areas (QGraphicsPixmapItem->shape() knows about transparent areas)