canvas_draw_str

Function canvas_draw_str 

Source
pub unsafe extern "C" fn canvas_draw_str(
    canvas: *mut Canvas,
    x: i32,
    y: i32,
    str_: *const c_char,
)
Expand description

Draw string at position of baseline defined by x, y.

ยงArguments

  • canvas - Canvas instance
  • x - anchor point x coordinate
  • y - anchor point y coordinate
  • str - C-string