10 #ifndef QWT_SCALE_DRAW_H 
   11 #define QWT_SCALE_DRAW_H 
   13 #include "qwt_global.h" 
   14 #include "qwt_abstract_scale_draw.h" 
   17 #include <qtransform.h> 
   57     void getBorderDistHint( 
const QFont &, 
int &start, 
int &end ) 
const;
 
   58     int minLabelDist( 
const QFont & ) 
const;
 
   60     int minLength( 
const QFont & ) 
const;
 
   61     virtual double extent( 
const QFont & ) 
const;
 
   63     void move( 
double x, 
double y );
 
   64     void move( 
const QPointF & );
 
   65     void setLength( 
double length );
 
   67     Alignment alignment() 
const;
 
   68     void setAlignment( Alignment );
 
   70     Qt::Orientation orientation() 
const;
 
   73     double length() 
const;
 
   75     void setLabelAlignment( Qt::Alignment );
 
   76     Qt::Alignment labelAlignment() 
const;
 
   78     void setLabelRotation( 
double rotation );
 
   79     double labelRotation() 
const;
 
   81     int maxLabelHeight( 
const QFont & ) 
const;
 
   82     int maxLabelWidth( 
const QFont & ) 
const;
 
   84     QPointF labelPosition( 
double val ) 
const;
 
   86     QRectF labelRect( 
const QFont &, 
double val ) 
const;
 
   87     QSizeF labelSize( 
const QFont &, 
double val ) 
const;
 
   89     QRect boundingLabelRect( 
const QFont &, 
double val ) 
const;
 
   92     QTransform labelTransformation( 
const QPointF &, 
const QSizeF & ) 
const;
 
   94     virtual void drawTick( QPainter *, 
double val, 
double len ) 
const;
 
   96     virtual void drawLabel( QPainter *, 
double val ) 
const;
 
  114     move( QPointF( x, y ) );