Skip to main content

view_port_set_height

Function view_port_set_height 

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

Set view_port height.

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

ยงArguments

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