Bitmap Flags Masks
The flags parameter passed to the QABitmapNew function specifies a set of bit flags that control features of the new bitmap. You can use these masks to configure a flags parameter.
#define kQABitmap_None 0
#define kQABitmap_Lock (1 << 1)
#define kQABitmap_NoCompression (1 << 2)
#define kQABitmap_HighCompression (1 << 3)
Constant descriptions
kQABitmap_None
- Pass this value for no bitmap features.
kQABitmap_Lock
- The new bitmap should remain locked in memory and not be swapped out. You should set this flag for bitmap that are heavily used during rendering. Note, however, that this flag is usually ignored by software-based drawing engines.
kQABitmap_NoCompression
- The new bitmap should not be compressed.
kQABitmap_HighCompression
- The new bitmap should be compressed (even if doing so takes a considerable amount of time).