widget_add_line_element

Function widget_add_line_element 

Source
pub unsafe extern "C" fn widget_add_line_element(
    widget: *mut Widget,
    x1: u8,
    y1: u8,
    x2: u8,
    y2: u8,
)
Expand description

Add Line Element

ยงArguments

  • widget - Widget instance
  • x1 - first x coordinate
  • y1 - first y coordinate
  • x2 - second x coordinate
  • y2 - second y coordinate