Important: The information in this document is obsolete and should not be used for new development.
Face Layer Omit Byte Masks and Shifts
ThegxOmitFaceLayerMask1enumeration defines which bits in an omit byte correspond to the data compression opcode for the field descriptors in thegxFaceLayerstructure. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Text Face Data" on page 7-39.
enum gxOmitFaceLayerMask1 { gxOmitFaceLayerFillMask = 0xC0, gxOmitFaceLayerFlagsMask = 0x30, gxOmitFaceLayerStyleMask = 0x0C, gxOmitFaceLayerTransformMask = 0x03 };Constant descriptions
Once one of the
- gxOmitFaceLayerFillMask
- The mask used to select the data compression bits for the
outlineFillfield descriptor.- gxOmitFaceLayerFlagsMask
- The mask used to select the data compression bits for the
flagsfield descriptor.- gxOmitFaceLayerStyleMask
- The mask used to select the data compression bits for the
outlineStylefield descriptor.- gxOmitFaceLayerTransformMask
- The mask used to select the data compression bits for the
outlineTransformfield descriptor.gxOmitFaceLayerMask1enumeration masks has been used to select a data compression opcode for a field descriptor in thegxFaceLayerstructure, the corresponding bit shift from the gxOmitFaceLayerShift1 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 gxOmitFaceLayerShift1 { gxOmitFaceLayerFillShift = 6, gxOmitFaceLayerFlagsShift = 4, gxOmitFaceLayerStyleShift = 2, gxOmitFaceLayerTransformShift = 0 };Constant descriptions
The
- gxOmitFaceLayerFillShift
- The bit shift required to isolate the compression bits for the
outlineFillfield descriptor.- gxOmitFaceLayerFlagsShift
- The bit shift required to isolate the compression bits for the
flagsfield descriptor.- gxOmitFaceLayerStyleShift
- The bit shift required to isolate the compression bits for the
outlineStylefield descriptor.- gxOmitFaceLayerTransformShift
- The bit shift required to isolate the compression bits for the
outlineTransformfield descriptor.gxOmitFaceLayerMask2enumeration defines which bits in a second omit byte correspond to the data compression bits for additional field descriptors in thegxFaceLayerstructure. The sequence of data is also defined. The use of this mask and shift are described in the section "Text Face Data" on page 7-39.
enum gxOmitFaceLayerMask2 { gxOmitFaceLayerBoldXMask = 0xC0, gxOmitFaceLayerBoldYMask = 0x30 };Constant descriptions
Once one of the
- gxOmitFaceLayerBoldXMask
- The mask used to select the data compression bits for the
boldOutset.Xfield descriptor.- gxOmitFaceLayerBoldYMask
- The mask used to select the data compression bits for the
boldOutset.Yfield descriptor.gxOmitFaceLayerMask2enumeration masks has been used to select a data compression opcode for a field descriptor in thegxFaceLayerstructure, the corresponding bit shift from the gxOmitFaceLayerShift2 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 gxOmitFaceLayerShift2 { gxOmitFaceLayerBoldXShift = 6, gxOmitFaceLayerBoldYShift = 4 };Constant descriptions
- gxOmitFaceLayerBoldXShift
- The bit shift required to isolate the compression bits for the
boldOutset.Xfield descriptor.- gxOmitFaceLayerBoldYShift
- The bit shift required to isolate the compression bits for the
boldOutset.Yfield descriptor.