Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_abstract_scale_draw.h
- Timestamp:
- May 10, 2017, 3:20:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_abstract_scale_draw.h
r4271 r8127 18 18 class QPainter; 19 19 class QFont; 20 class Qwt ScaleTransformation;20 class QwtTransform; 21 21 class QwtScaleMap; 22 22 … … 27 27 28 28 After a scale division has been specified as a QwtScaleDiv object 29 using QwtAbstractScaleDraw::setScaleDiv(const QwtScaleDiv &s), 30 the scale can be drawn with the QwtAbstractScaleDraw::draw() member. 29 using setScaleDiv(), the scale can be drawn with the draw() member. 31 30 */ 32 31 class QWT_EXPORT QwtAbstractScaleDraw … … 59 58 const QwtScaleDiv& scaleDiv() const; 60 59 61 void setTransformation( Qwt ScaleTransformation* );60 void setTransformation( QwtTransform * ); 62 61 const QwtScaleMap &scaleMap() const; 63 62 QwtScaleMap &scaleMap(); … … 83 82 Calculate the extent 84 83 85 The extent is the dist cance from the baseline to the outermost84 The extent is the distance from the baseline to the outermost 86 85 pixel of the scale draw in opposite to its orientation. 87 86 It is at least minimumExtent() pixels. 88 87 88 \param font Font used for drawing the tick labels 89 \return Number of pixels 90 89 91 \sa setMinimumExtent(), minimumExtent() 90 92 */ 91 virtual double extent( const QFont & ) const = 0;93 virtual double extent( const QFont &font ) const = 0; 92 94 93 95 void setMinimumExtent( double ); … … 100 102 \param painter Painter 101 103 \param value Value of the tick 102 \param len Leng htof the tick104 \param len Length of the tick 103 105 104 106 \sa drawBackbone(), drawLabel()
Note:
See TracChangeset
for help on using the changeset viewer.