resizeWindow function

void resizeWindow(
  1. String winName,
  2. int width,
  3. int height
)

ResizeWindow resizes window to the specified size.

For further details, please see: https://docs.opencv.org/master/d7/dfc/group__highgui.html#ga9e80e080f7ef33f897e415358aee7f7e

Implementation

void resizeWindow(String winName, int width, int height) {
  final cWinName = winName.toNativeUtf8().cast<ffi.Char>();
  cvRun(() => chighgui.cv_resizeWindow(cWinName, width, height));
  calloc.free(cWinName);
}