| 72 | #endif |
| 73 | |
| 74 | static qreal qwtScalePenWidth( const QwtPlot* plot ) |
| 75 | { |
| 76 | qreal pw = 0.0; |
| 77 | |
| 78 | for ( int axisId = 0; axisId < QwtAxis::AxisPositions; axisId++ ) |
| 79 | { |
| 80 | if ( plot->isAxisVisible( axisId ) ) |
| 81 | pw = qMax( pw, plot->axisScaleDraw( axisId )->penWidthF() ); |
| 82 | } |
| 83 | |
| 84 | return pw; |
| 85 | } |
| 86 | |
| 87 | static QColor qwtScalePenColor( const QwtPlot* plot ) |
| 88 | { |
no test coverage detected