vex_sdk::display

Function vexDisplayVCenteredString

Source
pub unsafe fn vexDisplayVCenteredString(
    nLineNumber: i32,
    format: *const c_char,
    args: VaList<'_, '_>,
)
Expand description

Draws a string of center-justified text to the display at a given line.

Uses the current foreground color as the text color.

ยงSafety

Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.