svgui
1.9
|
LinearColourScale Class Reference
#include <LinearColourScale.h>
Public Member Functions | |
int | getWidth (LayerGeometryProvider *v, QPainter &paint) |
void | paintVertical (LayerGeometryProvider *v, const ColourScaleLayer *layer, QPainter &paint, int x0, double minf, double maxf) |
Detailed Description
Definition at line 25 of file LinearColourScale.h.
Member Function Documentation
int LinearColourScale::getWidth | ( | LayerGeometryProvider * | v, |
QPainter & | paint | ||
) |
Definition at line 26 of file LinearColourScale.cpp.
Referenced by TimeValueLayer::getVerticalScaleWidth(), and RegionLayer::getVerticalScaleWidth().
void LinearColourScale::paintVertical | ( | LayerGeometryProvider * | v, |
const ColourScaleLayer * | layer, | ||
QPainter & | paint, | ||
int | x0, | ||
double | minf, | ||
double | maxf | ||
) |
Definition at line 38 of file LinearColourScale.cpp.
References ColourScaleLayer::getColourForValue(), LayerGeometryProvider::getPaintHeight(), and ColourScaleLayer::getScaleUnits().
Referenced by TimeValueLayer::paintVerticalScale(), and RegionLayer::paintVerticalScale().
The documentation for this class was generated from the following files:
Generated by 1.8.11