167
167
// reset global bound if there were no shapes selected before
169
169
d->globalBound = QRectF();
171
171
setTransformation(QMatrix());
172
172
// we are resetting the transformation here anyway,
173
173
// so we can just add the newly selected shapes to the bounding box
174
174
// in document coordinates and then use that size and position
178
178
const QMatrix shapeTransform = shape->absoluteTransformation(0);
179
179
const QRectF shapeRect(QRectF(QPointF(), shape->size()));