Important: The information in this document is obsolete and should not be used for new development.
Bitmap Shape Omit Byte Masks and Shifts
ThegxOmitBitmapMask1enumeration defines which bits in an omit byte correspond to the data compression opcode for the field descriptors in thegxBitmapstructure. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Bitmap Shape Data" beginning on page 7-32.
enum gxOmitBitmapMask1 { gxOmitBitmapImageMask = 0xC0, gxOmitBitmapWidthMask = 0x30, gxOmitBitmapHeightMask = 0x0C, gxOmitBitmapRowBytesMask = 0x03 };Constant descriptions
Once one of the
- gxOmitBitmapImageMask
The mask used to select the data compression bits for theimagefield descriptor.- gxOmitBitmapWidthMask
- The mask used to select the data compression bits for the
widthfield descriptor.- gxOmitBitmapHeightMask
- The mask used to select the data compression bits for the
heightfield descriptor.- gxOmitBitmapRowBytesMask
- The mask used to select the data compression bits for the
rowBytesfield descriptor.gxOmitBitmapMask1enumeration masks has been used to select a data compression opcode for a field descriptor in thegxBitmapstructure, the corresponding bit shift from the gxOmitBitmapShift1 enumeration can be applied to the selected bits. The selected bits must be moved to the right by the indicated number of bits to isolate the data compression opcode so that it can be compared to other values.
enum gxOmitBitmapShift1 { gxOmitBitmapImageShift = 6, gxOmitBitmapWidthShift = 4, gxOmitBitmapHeightShift = 2, gxOmitBitmapRowBytesShift = 0 };Constant descriptions
The
- gxOmitBitmapImageShift
- The bit shift required to isolate the compression bits for the
imagefield descriptor.- gxOmitBitmapWidthShift
- The bit shift required to isolate the compression bits for the
widthfield descriptor.- gxOmitBitmapHeightShift
- The bit shift required to isolate the compression bits for the
heightfield descriptor.- gxOmitBitmapRowBytesShift
- The bit shift required to isolate the compression bits for the
rowBytesfield descriptor.gxOmitBitmapMask2enumeration defines which bits in a second omit byte correspond to the data compression opcode for additional field descriptors in thegxBitmapstructure. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Bitmap Shape Data" beginning on page 7-32.
enum gxOmitBitmapMask2 { gxOmitBitmapPixelSizeMask = 0xC0, gxOmitBitmapSpaceMask = 0x30, gxOmitBitmapSetMask = 0x0C, gxOmitBitmapProfileMask = 0x03 };Constant descriptions
Once one of the
- gxOmitBitmapPixelSizeMask
- The mask used to select the data compression bits for the
pixelSizefield descriptor.- gxOmitBitmapSpaceMask
- The mask used to select the data compression bits for the
spacefield descriptor.- gxOmitBitmapSetMask
- The mask used to select the data compression bits for the
setfield descriptor.- gxOmitBitmapProfileMask
- The mask used to select the data compression bits for the
profilefield descriptor.gxOmitBitmapMask2enumeration masks has been used to select a data compression opcode for a field descriptor in thegxBitmapstructure, the corresponding bit shift from the gxOmitBitmapShift2 enumeration can be applied to the selected bits. The selected bits must be moved to the right by the indicated number of bits to isolate the data compression opcode so that it can be compared to other values.
enum gxOmitBitmapShift2 { gxOmitBitmapPixelSizeShift = 6, gxOmitBitmapSpaceShift = 4, gxOmitBitmapSetShift = 2, gxOmitBitmapProfileShift = 0 };Constant descriptions
The
- gxOmitBitmapPixelSizeShift
- The bit shift required to isolate the compression bits for the
pixelSizefield descriptor.- gxOmitBitmapSpaceShift
- The bit shift required to isolate the compression bits for the
spacefield descriptor.- gxOmitBitmapSetShift
- The bit shift required to isolate the compression bits for the
setfield descriptor.- gxOmitBitmapProfileShift
- The bit shift required to isolate the compression bits for the
profilefield descriptor.gxOmitBitmapMask3enumeration defines which bits in a third omit byte correspond to the data compression opcode for additional field descriptors in thegxBitmapstructure. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Bitmap Shape Data" beginning on page 7-32.
enum gxOmitBitmapMask3 { gxOmitBitmapPositionXMask = 0xC0, gxOmitBitmapPositionYMask = 0x30 };Constant descriptions
Once one of the
- gxOmitBitmapPositionXMask
- The mask used to select the data compression bits for the
positionXfield descriptor.- gxOmitBitmapPositionYMask
- The mask used to select the data compression bits for the
positionYfield descriptor.gxOmitBitmapMask3enumeration masks has been used to select a data compression opcode for a field descriptor in thegxBitmapstructure, the corresponding bit shift from the gxOmitBitmapShift3 enumeration can be applied to the selected bits. The selected bits must be moved to the right by the indicated number of bits to isolate the data compression opcode so that it can be compared to other values.
enum gxOmitBitmapShift3 { gxOmitBitmapPositionXShift = 6, gxOmitBitmapPositionYShift = 4 };Constant descriptions
- gxOmitBitmapPositionXShift
- The bit shift required to isolate the compression bits for the
positionXfield descriptor.- gxOmitBitmapPositionYShift
- The bit shift required to isolate the compression bits for the
positionYfield descriptor.