Go to the documentation of this file.
38 , m_cnv( other.m_cnv )
39 , m_ts1( other.m_ts1 )
156 double x1 = xMap.
transform( rect.left() );
157 double x2 = xMap.
transform( rect.right() );
158 double y1 = yMap.
transform( rect.top() );
159 double y2 = yMap.
transform( rect.bottom() );
175 return QRectF( x1, y1, x2 - x1 + 1, y2 - y1 + 1 );
228 const double x2 = xMap.
invTransform( rect.right() - 1 );
230 const double y2 = yMap.
invTransform( rect.bottom() - 1 );
232 const QRectF r( x1, y1, x2 - x1, y2 - y1 );
233 return r.normalized();
236 #ifndef QT_NO_DEBUG_STREAM
240 debug.nospace() <<
"QwtScaleMap("
241 <<
map.transformation()
242 <<
", s:" <<
map.s1() <<
"->" <<
map.s2()
243 <<
", p:" <<
map.p1() <<
"->" <<
map.p2()
246 return debug.space();
double invTransform(double p) const
int qwtFuzzyCompare(double value1, double value2, double intervalSize)
Compare 2 values, relative to an interval.
QwtScaleMap & operator=(const QwtScaleMap &)
Assignment operator.
void setTransformation(QwtTransform *)
QwtTransform * m_transform
QDebug operator<<(QDebug debug, const QwtScaleMap &map)
void setPaintInterval(double p1, double p2)
Specify the borders of the paint device interval.
QwtScaleMap()
Constructor.
double transform(double s) const
void setScaleInterval(double s1, double s2)
Specify the borders of the scale interval.
const QwtTransform * transformation() const
Get the transformation.
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46