23 d_interval( interval )
82 rect.left(), rect.right() ).normalized();
110 return QRectF( 1.0, 1.0, -2.0, -2.0 );
128 return QPointF( 0, 0 );
130 const double xValue =
x( index );
131 const double yValue =
y( xValue );
133 return QPointF( xValue, yValue );
159 const double dx = interval.
width() / (
d_size - 1 );
160 return interval.
minValue() + index * dx;
QwtInterval normalized() const
Normalize the limits of the interval.
virtual double x(uint index) const
virtual void setRectOfInterest(const QRectF &) QWT_OVERRIDE
virtual QPointF sample(size_t index) const QWT_OVERRIDE
A class representing an interval.
virtual size_t size() const QWT_OVERRIDE
QwtInterval d_intervalOfInterest
void setInterval(const QwtInterval &)
QwtSyntheticPointData(size_t size, const QwtInterval &=QwtInterval())
static QRectF qwtBoundingRect(const QPointF &sample)
virtual QRectF boundingRect() const QWT_OVERRIDE
Calculate the bounding rectangle.
void setSize(size_t size)
QRectF rectOfInterest() const
double width() const
Return the width of an interval.
virtual double y(double x) const =0
QwtInterval interval() const