Point.fromPointer constructor

Point.fromPointer(
  1. Pointer<CvPoint> ptr, [
  2. bool attach = true
])

Implementation

Point.fromPointer(ffi.Pointer<cvg.CvPoint> ptr, [bool attach = true]) : super.fromPointer(ptr) {
  if (attach) {
    finalizer.attach(this, ptr.cast(), detach: this);
  }
}