fractionOfDistanceThroughGlyphForPoint_ property

ObjCProtocolMethod<DartCGFloat Function(NSPoint)> fractionOfDistanceThroughGlyphForPoint_
final

fractionOfDistanceThroughGlyphForPoint:

Implementation

static final fractionOfDistanceThroughGlyphForPoint_ =
    objc.ObjCProtocolMethod<DartCGFloat Function(NSPoint)>(
      _protocol_NSTextCheckingClient,
      _sel_fractionOfDistanceThroughGlyphForPoint_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              CGFloat Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSPoint,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_lwcz9r)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextCheckingClient,
        _sel_fractionOfDistanceThroughGlyphForPoint_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (DartCGFloat Function(NSPoint) func) =>
          ObjCBlock_CGFloat_ffiVoid_NSPoint.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSPoint arg1) => func(arg1),
          ),
    );