28 , mElevationCanvas( canvas )
38 QRectF plotArea = mElevationCanvas->
plotArea();
39 return QPointF( scenePoint.x(), plotArea.top() );
44 const QRectF plotArea = mElevationCanvas->
plotArea();
46 return QPointF( scenePoint.x(), plotArea.bottom() );
51 const QRectF plotArea = mElevationCanvas->
plotArea();
53 return QRectF( sceneBounds.left(), plotArea.top(), sceneBounds.width(), plotArea.height() );
59 const QRectF plotArea = mElevationCanvas->
plotArea();
67 const QRectF plotArea = mElevationCanvas->
plotArea();
A canvas for elevation profiles.
void scalePlot(double factor) override
Scales the plot by a specified scale factor.
QRectF plotArea() const
Returns the interior rectangle representing the surface of the plot, in canvas coordinates.
virtual void centerPlotOn(double x, double y)
Centers the plot on the plot point corresponding to x, y in canvas units.