Point2d.fromPointer constructor

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

Implementation

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