ref property
A view of the native memory behind ptr, not a copy.
Never call this on a temporary wrapper ((w, h).cvd.ref,
toPoint().ref): nothing keeps the wrapper alive, so its NativeFinalizer
may free the memory before the FFI trampoline copies the struct (#464).
Pass the Dart-heap struct instead: (w, h).cvdRef, (x, y).pointRef,
(type, count, eps).cvdRef, or keep the wrapper in a named local.
Implementation
@override
cvg.Stitcher get ref => ptr.ref;