DekGenius.com
[ Team LiB ] Previous Section Next Section

12.6 Graphics: Window Depth

These functions are used to obtain information about the bit-depth of windows.

NSAvailableWindowDepths

const NSWindowDepth *NSAvailableWindowDepths(void)

NSBestDepth

NSWindowDepth NSBestDepth(NSString *colorSpace, int bps, int bpp, BOOL planar, BOOL *exactMatch)

NSBitsPerPixelFromDepth

int NSBitsPerPixelFromDepth(NSWindowDepth depth)

NSBitsPerSampleFromDepth

int NSBitsPerSampleFromDepth(NSWindowDepth depth)

NSColorSpaceFromDepth

NSString *NSColorSpaceFromDepth(NSWindowDepth depth)

NSNumberOfColorComponents

int NSNumberOfColorComponents(NSString *colorSpaceName)

NSPlanarFromDepth

BOOL NSPlanarFromDepth(NSWindowDepth depth)

    [ Team LiB ] Previous Section Next Section