- inline QRectF boundingRect() const { return QRectF(0, 0, _width, scene()->height()); }
+ inline QRectF boundingRect() const { return _boundingRect; }
+ inline qreal sceneLeft() const { return _sceneLeft; }
+ inline qreal sceneRight() const { return _sceneRight; }
+