229
230
QRect rect = m_parent->canvas()->viewConverter()->documentToView(shape->boundingRect()).toRect();
230
231
QWidget *canvasWidget = m_parent->canvas()->canvasWidget();
231
232
Q_ASSERT(canvasWidget); // since we should not allow drag if there is not.
234
235
rect.adjust(-2, -2, 2, 2); // adjust for antialias