Platforms to show: All Mac Windows Linux Cross-Platform
Back to DesktopWindow class.
DesktopWindow.CGContextMBS as CGContextMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 21.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Requires Mac OS X to work.
Please make sure the CGContextMBS object is released in the paint event if you use it there, so all the drawings are flushed. Not releasing it my be visible in missing statictext or other strange graphics effects.
But on a Cocoa window the context is not always available, so in the window paint event, you can context from Graphics object.
The items on this page are in the following plugins: MBS MacCG Plugin.