layer_shouldInheritContentsScale_fromWindow_ property

ObjCProtocolMethod<bool Function(CALayer, DartCGFloat, NSWindow)> layer_shouldInheritContentsScale_fromWindow_
final

layer:shouldInheritContentsScale:fromWindow:

Implementation

static final layer_shouldInheritContentsScale_fromWindow_ =
    objc.ObjCProtocolMethod<bool Function(CALayer, DartCGFloat, NSWindow)>(
      _protocol_NSViewLayerContentScaleDelegate,
      _sel_layer_shouldInheritContentsScale_fromWindow_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                CGFloat,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_cpb8xo)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSViewLayerContentScaleDelegate,
        _sel_layer_shouldInheritContentsScale_fromWindow_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(CALayer, DartCGFloat, NSWindow) func) =>
          ObjCBlock_bool_ffiVoid_CALayer_CGFloat_NSWindow.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              CALayer arg1,
              DartCGFloat arg2,
              NSWindow arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );