Ticket #16213: CGImage.h-dakka.akka-ryandesign.diff
File CGImage.h-dakka.akka-ryandesign.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago) |
---|
-
CGImage.
old new 28 28 29 29 enum { 30 30 kCGBitmapAlphaInfoMask = 0x1F, 31 kCGBitmapFloatComponents = (1 << 8) 31 kCGBitmapFloatComponents = (1 << 8), 32 33 kCGBitmapByteOrderMask = 0x7000, 34 kCGBitmapByteOrderDefault = (0 << 12), 35 kCGBitmapByteOrder16Little = (1 << 12), 36 kCGBitmapByteOrder32Little = (2 << 12), 37 kCGBitmapByteOrder16Big = (3 << 12), 38 kCGBitmapByteOrder32Big = (4 << 12) 32 39 }; 33 40 typedef uint32_t CGBitmapInfo; /* Available in MAC OS X 10.4 & later. */ 34 41 42 #ifdef __BIG_ENDIAN__ 43 #define kCGBitmapByteOrder16Host kCGBitmapByteOrder16Big 44 #define kCGBitmapByteOrder32Host kCGBitmapByteOrder32Big 45 #else /* Little endian. */ 46 #define kCGBitmapByteOrder16Host kCGBitmapByteOrder16Little 47 #define kCGBitmapByteOrder32Host kCGBitmapByteOrder32Little 48 #endif 49 35 50 /* Return the CFTypeID for CGImageRefs. */ 36 51 37 52 CG_EXTERN CFTypeID CGImageGetTypeID(void) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER;