annotation_text

Function annotation_text 

Source
pub fn annotation_text(
    x: f64,
    y: f64,
    color: [f32; 4],
    pixel_offset: [f32; 2],
    clamp: bool,
    text: &str,
)
Expand description

Draw a text annotation at (x,y) using the non-variadic ImPlot_Annotation_Str0 API.

This avoids calling the C variadic (...) entrypoint, which is not supported on some targets (e.g. wasm32 via import-style bindings).