moveWindow function

void moveWindow(
  1. String winName,
  2. int x,
  3. int y
)

MoveWindow moves window to the specified position.

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

Implementation

void moveWindow(String winName, int x, int y) {
  final cWinName = winName.toNativeUtf8().cast<ffi.Char>();
  cvRun(() => chighgui.cv_moveWindow(cWinName, x, y));
  calloc.free(cWinName);
}