15 return QRectF( sample.x(), sample.y(), 0.0, 0.0 );
20 return QRectF( sample.
x(), sample.
y(), 0.0, 0.0 );
36 if ( sample.
set.empty() )
37 return QRectF( sample.
value, 0.0, 0.0, -1.0 );
39 double minY = sample.
set[0];
40 double maxY = sample.
set[0];
42 for (
int i = 1; i < sample.
set.size(); i++ )
44 if ( sample.
set[i] < minY )
47 if ( sample.
set[i] > maxY )
51 return QRectF( sample.
value, minY, 0.0, maxY - minY );
69 return QRectF( sample.
x, sample.
y, 0, 0 );
87 QRectF boundingRect( 1.0, 1.0, -2.0, -2.0 );
93 to = series.
size() - 1;
99 for ( i = from; i <= to; i++ )
102 if ( rect.width() >= 0.0 && rect.height() >= 0.0 )
110 for ( ; i <= to; i++ )
113 if ( rect.width() >= 0.0 && rect.height() >= 0.0 )
115 boundingRect.setLeft( qMin( boundingRect.left(), rect.left() ) );
116 boundingRect.setRight( qMax( boundingRect.right(), rect.right() ) );
117 boundingRect.setTop( qMin( boundingRect.top(), rect.top() ) );
118 boundingRect.setBottom( qMax( boundingRect.bottom(), rect.bottom() ) );
138 return qwtBoundingRectT< QPointF >( series, from, to );
155 return qwtBoundingRectT< QwtPoint3D >( series, from, to );
175 return qwtBoundingRectT< QwtPointPolar >( series, from, to );
192 return qwtBoundingRectT< QwtIntervalSample >( series, from, to );
209 return qwtBoundingRectT< QwtOHLCSample >( series, from, to );
226 return qwtBoundingRectT< QwtSetSample >( series, from, to );
243 return qwtBoundingRectT< QwtVectorFieldSample >( series, from, to );