The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home GuiPack Meter Methods CalcNeedleAngle | |||||||
See also: ConvertPixelToValue, ConvertToPixelCoords | |||||||
CalcNeedleAngle |
|||||||
The method CalcNeedleAngle calculates the angle of the needle for a given value of the meter. The returned angle is in degrees; the vertical direction (downward) equals 0 degrees. The angle increases clockwise (see figure below). If value is less than MeterMinValue or greater than MeterMaxValue it is automatically limited to these boundaries.
|