firstRectForCharacterRange_actualRange_ property

ObjCProtocolMethod<NSRect Function(NSRange, NSRangePointer)> firstRectForCharacterRange_actualRange_
final

firstRectForCharacterRange:actualRange:

Implementation

static final firstRectForCharacterRange_actualRange_ =
    objc.ObjCProtocolMethod<NSRect Function(NSRange, NSRangePointer)>(
      _protocol_NSTextInputClient,
      _sel_firstRectForCharacterRange_actualRange_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSRect Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSRange,
                NSRangePointer,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1xytnsq)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextInputClient,
        _sel_firstRectForCharacterRange_actualRange_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (NSRect Function(NSRange, NSRangePointer) func) =>
          ObjCBlock_NSRect_ffiVoid_NSRange_NSRangePointer.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSRange arg1, NSRangePointer arg2) =>
                func(arg1, arg2),
          ),
    );