XPLMDrawNumber

Function XPLMDrawNumber 

Source
pub unsafe extern "C" fn XPLMDrawNumber(
    inColorRGB: *mut f32,
    inXOffset: c_int,
    inYOffset: c_int,
    inValue: f64,
    inDigits: c_int,
    inDecimals: c_int,
    inShowSign: c_int,
    inFontID: XPLMFontID,
)
Expand description

XPLMDrawNumber

This routine draws a number similar to the digit editing fields in PlaneMaker and data output display in X-Plane. Pass in a color, a position, a floating point value, and formatting info. Specify how many integer and how many decimal digits to show and whether to show a sign, as well as a character set. This routine returns the xOffset plus width of the string drawn.