graphicsContextWithWindow static method
graphicsContextWithWindow:
Implementation
static NSGraphicsContext graphicsContextWithWindow(NSWindow window) {
objc.checkOsVersionInternal(
'NSGraphicsContext.graphicsContextWithWindow:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
_class_NSGraphicsContext,
_sel_graphicsContextWithWindow_,
window.ref.pointer,
);
return NSGraphicsContext.castFromPointer(_ret, retain: true, release: true);
}