Important: The information in this document is obsolete and should not be used for new development.
Layout Shape Omit Byte Masks and Shifts
ThegxOmitLayoutMask1
enumeration defines which bits in an omit byte correspond to the data compression opcode for parameters for theGXNewLayout
function. 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
textRunLength
parameter.- gxOmitLayoutPositionXMask
- The mask used to select the data compression bits for the
position.X
parameter.- gxOmitLayoutPositionYMask
- The mask used to select the data compression bits for the
position.Y
parameters.- gxOmitLayoutDataMask
- The mask used to select the data compression bits for the
text
parameter.gxOmitLayoutMask1
enumeration masks has been used to select a data compression opcode for the parameters for theGXNewLayout
function, 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
textRunLength
parameter.- gxOmitLayoutPositionXShift
- The bit shift required to isolate the compression bits for the
position.X
parameter.- gxOmitLayoutPositionYShift
- The bit shift required to isolate the compression bits for the
position.Y
parameter.- gxOmitLayoutDataShift
- The bit shift required to isolate the compression bits for the
text
parameter descriptor.gxOmitLayoutMask2
enumeration defines which bits in a second omit byte correspond to the data compression opcode for additional parameters for theGXNewLayout
function. 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
width
field descriptor.- gxOmitLayoutFlushMask
- The mask used to select the data compression bits for the
flush
field descriptor.- gxOmitLayoutJustMask
- The mask used to select the data compression bits for the
just
field descriptor.- gxOmitLayoutOptionsMask
- The mask used to select the data compression bits for the
flags
field descriptor.gxOmitLayoutMask2
enumeration masks has been used to select a data compression opcode for the parameters for theGXNewLayout
function, 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
width
field descriptor.- gxOmitLayoutFlushShift
- The bit shift required to isolate the compression bits for the
flush
field descriptor.- gxOmitLayoutJustShift
- The bit shift required to isolate the compression bits for the
just
field descriptor.- gxOmitLayoutOptionsShift
- The bit shift required to isolate the compression bits for the
flags
field descriptor.gxOmitLayoutMask3
enumeration defines which bits in a third omit byte correspond to the data compression opcode for additional parameters for theGXNewLayout
function. 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
styleRunCount
field descriptor.- gxOmitLayoutLevelRunNumberMask
- The mask used to select the data compression bits for the
levelRunCount
field descriptor.- gxOmitLayoutHasBaselineMask
- The mask used to select the data compression bits for the
hasBaseline
field descriptor.- gxOmitLayoutStyleRunsMask
- The mask used to select the data compression bits for the
styleRunLengths
field descriptor.- gxOmitLayoutStylesMask
- The mask used to select the data compression bits for the
???
field descriptor.gxOmitLayoutMask3
enumeration masks has been used to select a data compression opcode for the parameters for theGXNewLayout
function, 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
styleRunCount
field descriptor.- gxOmitLayoutLevelRunNumberShift
- The bit shift required to isolate the compression bits for the
levelRunCount
field descriptor.- gxOmitLayoutHasBaselineShift
- The bit shift required to isolate the compression bits for the
hasBaseline
field descriptor.- gxOmitLayoutStyleRunsShift
- The bit shift required to isolate the compression bits for the
styleRunLengths
field descriptor.- gxOmitLayoutStylesShift
- The bit shift required to isolate the compression bits for the
???
field descriptor.gxOmitLayoutMask4
enumeration defines which bits in a fourth omit byte correspond to the data compression opcode for additional parameters for theGXNewLayout
function. 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
levelRunLengths
parameter.- gxOmitLayoutLevelsMask
- The mask used to select the data compression bits for the
levels
parameter.gxOmitLayoutMask4
enumeration masks has been used to a select data compression opcode for the parameters for theGXNewLayout
function, 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
levelRunLengths
parameter.- gxOmitLayoutLevelsShift
- The bit shift required to isolate the compression bits for the
levels
parameter.