MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / qwtScalePenWidth

Function qwtScalePenWidth

3rdparty/qwt/src/qwt_plot_renderer.cpp:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72#endif
73
74static 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
87static QColor qwtScalePenColor( const QwtPlot* plot )
88{

Callers 3

renderMethod · 0.85
renderScaleMethod · 0.85
renderCanvasMethod · 0.85

Calls 3

penWidthFMethod · 0.80
axisScaleDrawMethod · 0.80
isAxisVisibleMethod · 0.45

Tested by

no test coverage detected