Important: The information in this document is obsolete and should not be used for new development.
Face Layer Omit Byte Masks and Shifts
ThegxOmitFaceLayerMask1
enumeration defines which bits in an omit byte correspond to the data compression opcode for the field descriptors in thegxFaceLayer
structure. 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
outlineFill
field descriptor.- gxOmitFaceLayerFlagsMask
- The mask used to select the data compression bits for the
flags
field descriptor.- gxOmitFaceLayerStyleMask
- The mask used to select the data compression bits for the
outlineStyle
field descriptor.- gxOmitFaceLayerTransformMask
- The mask used to select the data compression bits for the
outlineTransform
field descriptor.gxOmitFaceLayerMask1
enumeration masks has been used to select a data compression opcode for a field descriptor in thegxFaceLayer
structure, 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
outlineFill
field descriptor.- gxOmitFaceLayerFlagsShift
- The bit shift required to isolate the compression bits for the
flags
field descriptor.- gxOmitFaceLayerStyleShift
- The bit shift required to isolate the compression bits for the
outlineStyle
field descriptor.- gxOmitFaceLayerTransformShift
- The bit shift required to isolate the compression bits for the
outlineTransform
field descriptor.gxOmitFaceLayerMask2
enumeration defines which bits in a second omit byte correspond to the data compression bits for additional field descriptors in thegxFaceLayer
structure. 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
.X
field descriptor.- gxOmitFaceLayerBoldYMask
- The mask used to select the data compression bits for the
boldOutset
.Y
field descriptor.gxOmitFaceLayerMask2
enumeration masks has been used to select a data compression opcode for a field descriptor in thegxFaceLayer
structure, 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
.X
field descriptor.- gxOmitFaceLayerBoldYShift
- The bit shift required to isolate the compression bits for the
boldOutset
.Y
field descriptor.