canvas_draw_box

Function canvas_draw_box 

Source
pub unsafe extern "C" fn canvas_draw_box(
    canvas: *mut Canvas,
    x: i32,
    y: i32,
    width: usize,
    height: usize,
)
Expand description

Draw box of width, height at x,y

ยงArguments

  • canvas - Canvas instance
  • x - x coordinate
  • y - y coordinate
  • width - box width
  • height - box height