Point2f.fromPointer constructor

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

Implementation

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