view_port_set_width

Function view_port_set_width 

Source
pub unsafe extern "C" fn view_port_set_width(
    view_port: *mut ViewPort,
    width: u8,
)
Expand description

Set view_port width.

Will be used to limit canvas drawing area and autolayout feature.

ยงArguments

  • view_port - ViewPort instance
  • width - wanted width, 0 - auto.