Graphics: Window Depth
These functions are used to obtain information about the bit-depth of windows.
-
NSAvailableWindowDepths constNSWindowDepth*NSAvailableWindowDepths(void)-
NSBestDepth NSWindowDepthNSBestDepth(NSString*colorSpace,intbps,intbpp,BOOLplanar,BOOL*exactMatch)-
NSBitsPerPixelFromDepth intNSBitsPerPixelFromDepth(NSWindowDepthdepth)-
NSBitsPerSampleFromDepth intNSBitsPerSampleFromDepth(NSWindowDepthdepth)-
NSColorSpaceFromDepth NSString*NSColorSpaceFromDepth(NSWindowDepthdepth)-
NSNumberOfColorComponents intNSNumberOfColorComponents(NSString*colorSpaceName)-
NSPlanarFromDepth BOOLNSPlanarFromDepth(NSWindowDepthdepth)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access