vex_sdk::display

Function vexDisplayVPrintf

Source
pub unsafe fn vexDisplayVPrintf(
    xpos: i32,
    ypos: i32,
    bOpaque: i32,
    format: *const c_char,
    args: VaList<'_, '_>,
)
Expand description

Draws a string of text to the display at a given top-left coordinate.

Uses the current foreground color for the text itself, and the current background color if bOpaque is true.

ยงSafety

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