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 ConvertToPixelCoords | |||||||
See also: ConvertPixelToValue, CalcNeedleAngle | |||||||
ConvertToPixelCoords |
|||||||
The method ConvertToPixelCoords transforms the value of the meter (parameter value) and a percentage of the scale radius (parameter pctradius) into the pixel coordinates X and Y. This method can be used to draw user-defined graphics or text on the TMeter canvas (the canvas can be accessed using the events OnMeterRendered, OnBeforeDrawNeedle, or OnBeforeDrawScaleLabel).
|