|
svgui
1.9
|
#include <LinearColourScale.h>
Public Member Functions | |
| int | getWidth (View *v, QPainter &paint) |
| void | paintVertical (View *v, const ColourScaleLayer *layer, QPainter &paint, int x0, float minf, float maxf) |
Definition at line 25 of file LinearColourScale.h.
| int LinearColourScale::getWidth | ( | View * | v, |
| QPainter & | paint | ||
| ) |
Definition at line 26 of file LinearColourScale.cpp.
Referenced by TimeValueLayer::getVerticalScaleWidth(), and RegionLayer::getVerticalScaleWidth().
| void LinearColourScale::paintVertical | ( | View * | v, |
| const ColourScaleLayer * | layer, | ||
| QPainter & | paint, | ||
| int | x0, | ||
| float | minf, | ||
| float | maxf | ||
| ) |
Definition at line 33 of file LinearColourScale.cpp.
References ColourScaleLayer::getColourForValue(), and ColourScaleLayer::getScaleUnits().
Referenced by TimeValueLayer::paintVerticalScale(), and RegionLayer::paintVerticalScale().