| 
    QGIS API Documentation
    3.26.3-Buenos Aires (65e4edfdad)
    
   | 
 
 
 
 
Go to the documentation of this file.
   24 #include <QWheelEvent> 
   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();
 
  
void scalePlot(double factor) override
Scales the plot by a specified scale factor.
 
virtual void centerPlotOn(double x, double y)
Centers the plot on the plot point corresponding to x, y in canvas units.
 
A canvas for elevation profiles.
 
QRectF plotArea() const
Returns the interior rectangle representing the surface of the plot, in canvas coordinates.