10 #ifndef QWT_SCALE_MAP_H 11 #define QWT_SCALE_MAP_H 17 #ifndef QT_NO_DEBUG_STREAM 43 void setPaintInterval(
double p1,
double p2 );
44 void setScaleInterval(
double s1,
double s2 );
46 double transform(
double s )
const;
47 double invTransform(
double p )
const;
68 bool isInverting()
const;
119 return qAbs( d_p2 - d_p1 );
127 return qAbs( d_s2 - d_s1 );
142 s = d_transform->transform( s );
144 return d_p1 + ( s - d_ts1 ) * d_cnv;
158 double s = d_ts1 + ( p - d_p1 ) / d_cnv;
160 s = d_transform->invTransform( s );
168 return ( ( d_p1 < d_p2 ) != ( d_s1 < d_s2 ) );
171 #ifndef QT_NO_DEBUG_STREAM
QwtTransform * d_transform
QWT_EXPORT QDebug operator<<(QDebug, const QwtScaleMap &)
double invTransform(double p) const
double transform(double s) const