10 #ifndef QWT_SCALE_MAP_H 
   11 #define QWT_SCALE_MAP_H 
   13 #include "qwt_global.h" 
   14 #include "qwt_transform.h" 
   39     void setPaintInterval( 
double p1, 
double p2 );
 
   40     void setScaleInterval( 
double s1, 
double s2 );
 
   42     double transform( 
double s ) 
const;
 
   43     double invTransform( 
double p ) 
const;
 
   66     bool isInverting() 
const;
 
  117     return qAbs( m_p2 - m_p1 );
 
  125     return qAbs( m_s2 - m_s1 );
 
  142     return m_p1 + ( s - m_ts1 ) * m_cnv;
 
  156     double s = m_ts1 + ( p - m_p1 ) / m_cnv;
 
  166     return ( ( m_p1 < m_p2 ) != ( m_s1 < m_s2 ) );
 
  169 #ifndef QT_NO_DEBUG_STREAM 
  170 QWT_EXPORT QDebug operator<<( QDebug, 
const QwtScaleMap& );
 
double transform(double s) const
double invTransform(double p) const