|
svgui
1.9
|
#include <PaintAssistant.h>
Public Types | |
| enum | Scale { LinearScale, MeterScale, dBScale } |
Static Public Member Functions | |
| static void | paintVerticalLevelScale (QPainter &p, QRect rect, float minVal, float maxVal, Scale scale, int &multRtn, std::vector< int > *markCoordRtns=0) |
| static int | getYForValue (Scale scale, float value, float minVal, float maxVal, int minY, int height) |
Definition at line 24 of file PaintAssistant.h.
Definition at line 27 of file PaintAssistant.h.
| void PaintAssistant::paintVerticalLevelScale | ( | QPainter & | p, |
| QRect | rect, | ||
| float | minVal, | ||
| float | maxVal, | ||
| Scale | scale, | ||
| int & | multRtn, | ||
| std::vector< int > * | markCoordRtns = 0 |
||
| ) | [static] |
Definition at line 27 of file PaintAssistant.cpp.
References dBScale, getYForValue(), LinearScale, meterdbs, and MeterScale.
Referenced by SliceLayer::paintVerticalScale().
| int PaintAssistant::getYForValue | ( | Scale | scale, |
| float | value, | ||
| float | minVal, | ||
| float | maxVal, | ||
| int | minY, | ||
| int | height | ||
| ) | [static] |
Definition at line 181 of file PaintAssistant.cpp.
References dBScale, dBscale(), LinearScale, and MeterScale.
Referenced by paintVerticalLevelScale().