Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSScreenMBS class.
NSScreenMBS.backingAlignedRect(r as NSRectMBS, options as UInt64) as NSRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
r: The input rectangle in global screen coordinates.
options: Specifies the alignment options. See NSAlignmentOptions for possible values.
Returns a a pixel aligned rectangle on the target screen from the given input rectangle in global screen coordinates.
This method uses NSIntegralRectWithOptions() to produce the pixel aligned rectangle.
Available in Mac OS X v10.7 and later.
NSScreenMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
NSScreenMBS.convertRectFromBacking(r as NSRectMBS) as NSRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
r: The rectangle.
Returns the rectangle converted from the device pixel aligned coordinates system of the screen.
Available in Mac OS X v10.7 and later.
NSScreenMBS.convertRectToBacking(r as NSRectMBS) as NSRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
r: The rectangle.
Returns the rectangle converted to the device pixel aligned coordinates system of the screen.
Available in Mac OS X v10.7 and later.
NSScreenMBS.supportedWindowDepths as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The items on this page are in the following plugins: MBS MacBase Plugin.