Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Quartz Bitmap Data

The Quartz constants shown in Table 4-1 specify the byte ordering of pixel formats. These constants, which are defined in the CGImage.h header file, are used in the bitmapInfo parameter. To specify byte ordering to Quartz, use a bitwise OR operator to combine the appropriate constant with the bitmapInfo parameter.

Table 4-1  Quartz constants that specify byte ordering

Constant

Specifies

kCGBitmapByteOrderMask

The byte order mask

kCGBitmapByteOrder16Big

16-bit, big-endian format

kCGBitmapByteOrder32Big

32-bit, big-endian format

kCGBitmapByteOrder16Little

16-bit, little-endian format

kCGBitmapByteOrder32Little

32-bit, little-endian format

kCGBitmapByteOrder16Host

16-bit, host-endian format

kCGBitmapByteOrder32Host

32-bit, host-endian format



< Previous PageNext Page > Hide TOC


Last updated: 2007-02-26




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice