[][src]Function opencv::highgui::resize_window_1

pub fn resize_window_1(winname: &str, width: i32, height: i32) -> Result<()>

Resizes window to the specified size

Note:

  • The specified window size is for the image area. Toolbars are not counted.
  • Only windows created without cv::WINDOW_AUTOSIZE flag can be resized.

Parameters

  • winname: Window name.
  • width: The new window width.
  • height: The new window height.