Important: The information in this document is obsolete and should not be used for new development.
Layout Shape Omit Byte Masks and Shifts
ThegxOmitLayoutMask1enumeration defines which bits in an omit byte correspond to the data compression opcode for parameters for theGXNewLayoutfunction. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Layout Shape Data" beginning on page 7-33.
enum gxOmitLayoutMask1 { gxOmitLayoutLengthMask = 0xC0, gxOmitLayoutPositionXMask = 0x30, gxOmitLayoutPositionYMask = 0x0C, gxOmitLayoutDataMask = 0x02 };Constant descriptions
Once one of the
- gxOmitLayoutLengthMask
 - The mask used to select the data compression bits for the
 textRunLengthparameter.- gxOmitLayoutPositionXMask
 - The mask used to select the data compression bits for the
 position.Xparameter.- gxOmitLayoutPositionYMask
 - The mask used to select the data compression bits for the
 position.Yparameters.- gxOmitLayoutDataMask
 - The mask used to select the data compression bits for the
 textparameter.gxOmitLayoutMask1enumeration masks has been used to select a data compression opcode for the parameters for theGXNewLayoutfunction, the corresponding bit shift from the gxOmitLayoutShift1 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 gxOmitLayoutShift1 { gxOmitLayoutLengthShift = 6, gxOmitLayoutPositionXShift = 4, gxOmitLayoutPositionYShift = 2, gxOmitLayoutDataShift = 1 };Constant descriptions
The
- gxOmitLayoutLengthShift
 - The bit shift required to isolate the compression bits for the
 textRunLengthparameter.- gxOmitLayoutPositionXShift
 - The bit shift required to isolate the compression bits for the
 position.Xparameter.- gxOmitLayoutPositionYShift
 - The bit shift required to isolate the compression bits for the
 position.Yparameter.- gxOmitLayoutDataShift
 - The bit shift required to isolate the compression bits for the
 textparameter descriptor.gxOmitLayoutMask2enumeration defines which bits in a second omit byte correspond to the data compression opcode for additional parameters for theGXNewLayoutfunction. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Layout Shape Data" beginning on page 7-33.
enum gxOmitLayoutMask2 { gxOmitLayoutWidthMask = 0xC0, gxOmitLayoutFlushMask = 0x30, gxOmitLayoutJustMask = 0x0C, gxOmitLayoutOptionsMask = 0x03 };Constant descriptions
Once one of the
- gxOmitLayoutWidthMask
 - The mask used to select the data compression bits for the
 widthfield descriptor.- gxOmitLayoutFlushMask
 - The mask used to select the data compression bits for the
 flushfield descriptor.- gxOmitLayoutJustMask
 - The mask used to select the data compression bits for the
 justfield descriptor.- gxOmitLayoutOptionsMask
 - The mask used to select the data compression bits for the
 flagsfield descriptor.gxOmitLayoutMask2enumeration masks has been used to select a data compression opcode for the parameters for theGXNewLayoutfunction, the corresponding bit shift from the gxOmitLayoutShift2 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 gxOmitLayoutShift2 { gxOmitLayoutWidthShift = 6, gxOmitLayoutFlushShift = 4, gxOmitLayoutJustShift = 2, gxOmitLayoutOptionsShift = 0 };Constant descriptions
The
- gxOmitLayoutWidthShift
 - The bit shift required to isolate the compression bits for the
 widthfield descriptor.- gxOmitLayoutFlushShift
 - The bit shift required to isolate the compression bits for the
 flushfield descriptor.- gxOmitLayoutJustShift
 - The bit shift required to isolate the compression bits for the
 justfield descriptor.- gxOmitLayoutOptionsShift
 - The bit shift required to isolate the compression bits for the
 flagsfield descriptor.gxOmitLayoutMask3enumeration defines which bits in a third omit byte correspond to the data compression opcode for additional parameters for theGXNewLayoutfunction. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Layout Shape Data" beginning on page 7-33.
enum gxOmitLayoutMask3 { gxOmitLayoutStyleRunNumberMask= 0xC0, gxOmitLayoutLevelRunNumberMask= 0x30, gxOmitLayoutHasBaselineMask = 0x08, gxOmitLayoutStyleRunsMask = 0x04, gxOmitLayoutStylesMask = 0x03 };Constant descriptions
Once one of the
- gxOmitLayoutStyleRunNumberMask
 - The mask used to select the data compression bits for the
 styleRunCountfield descriptor.- gxOmitLayoutLevelRunNumberMask
 - The mask used to select the data compression bits for the
 levelRunCountfield descriptor.- gxOmitLayoutHasBaselineMask
 - The mask used to select the data compression bits for the
 hasBaselinefield descriptor.- gxOmitLayoutStyleRunsMask
 - The mask used to select the data compression bits for the
 styleRunLengthsfield descriptor.- gxOmitLayoutStylesMask
 - The mask used to select the data compression bits for the
 ???field descriptor.gxOmitLayoutMask3enumeration masks has been used to select a data compression opcode for the parameters for theGXNewLayoutfunction, the corresponding bit shift from the gxOmitLayoutShift3 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 gxOmitLayoutShift3 { gxOmitLayoutStyleRunNumberShift = 6, gxOmitLayoutLevelRunNumberShift = 4, gxOmitLayoutHasBaselineShift = 3, gxOmitLayoutStyleRunsShift = 2, gxOmitLayoutStylesShift = 0 };Constant descriptions
The
- gxOmitLayoutStyleRunNumberShift
 - The bit shift required to isolate the compression bits for the
 styleRunCountfield descriptor.- gxOmitLayoutLevelRunNumberShift
 - The bit shift required to isolate the compression bits for the
 levelRunCountfield descriptor.- gxOmitLayoutHasBaselineShift
 - The bit shift required to isolate the compression bits for the
 hasBaselinefield descriptor.- gxOmitLayoutStyleRunsShift
 - The bit shift required to isolate the compression bits for the
 styleRunLengthsfield descriptor.- gxOmitLayoutStylesShift
 - The bit shift required to isolate the compression bits for the
 ???field descriptor.gxOmitLayoutMask4enumeration defines which bits in a fourth omit byte correspond to the data compression opcode for additional parameters for theGXNewLayoutfunction. The sequence of data is also defined. The omit byte and its related data sequence is given in the section "Layout Shape Data" beginning on page 7-33.
enum gxOmitLayoutMask4 { gxOmitLayoutLevelRunsMask = 0x80, gxOmitLayoutLevelsMask = 0x40 };Constant descriptions
Once one of the
- gxOmitLayoutLevelRunsMask
 - The mask used to select the data compression bits for the
 levelRunLengthsparameter.- gxOmitLayoutLevelsMask
 - The mask used to select the data compression bits for the
 levelsparameter.gxOmitLayoutMask4enumeration masks has been used to a select data compression opcode for the parameters for theGXNewLayoutfunction, the corresponding bit shift from the gxOmitLayoutShift4 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 gxOmitLayoutShift4 { gxOmitLayoutLevelRunsShift = 7, gxOmitLayoutLevelsShift = 6 };Constant descriptions
- gxOmitLayoutLevelRunsShift
 - The bit shift required to isolate the compression bits for the
 levelRunLengthsparameter.- gxOmitLayoutLevelsShift
 - The bit shift required to isolate the compression bits for the
 levelsparameter.