cellFrameForTextContainer_proposedLineFragment_glyphPosition_characterIndex_ property

ObjCProtocolMethod<NSRect Function(NSTextContainer, NSRect, NSPoint, DartNSUInteger)> cellFrameForTextContainer_proposedLineFragment_glyphPosition_characterIndex_
final

cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:

Implementation

static final cellFrameForTextContainer_proposedLineFragment_glyphPosition_characterIndex_ =
    objc.ObjCProtocolMethod<
      NSRect Function(NSTextContainer, NSRect, NSPoint, DartNSUInteger)
    >(
      _protocol_NSTextAttachmentCell,
      _sel_cellFrameForTextContainer_proposedLineFragment_glyphPosition_characterIndex_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              objc.CGRect Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                objc.CGRect,
                objc.CGPoint,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_iqdvkd)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextAttachmentCell,
        _sel_cellFrameForTextContainer_proposedLineFragment_glyphPosition_characterIndex_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (
        NSRect Function(NSTextContainer, NSRect, NSPoint, DartNSUInteger)
        func,
      ) =>
          ObjCBlock_NSRect_ffiVoid_NSTextContainer_NSRect_NSPoint_NSUInteger.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextContainer arg1,
              NSRect arg2,
              NSPoint arg3,
              DartNSUInteger arg4,
            ) => func(arg1, arg2, arg3, arg4),
          ),
    );