getWindowProperty method

double getWindowProperty(
  1. WindowPropertyFlags flag
)

Implementation

double getWindowProperty(WindowPropertyFlags flag) {
  return cvRunArena<double>((arena) {
    final result = arena<ffi.Double>();
    cvRun(
      () => chighgui.Window_GetProperty(
        name.toNativeUtf8(allocator: arena).cast(),
        flag.value,
        result,
      ),
    );
    return result.value;
  });
}