This mask is used in calls to GreDeviceSetAttributes to identify fields
in the MARKERBUNDLE structure. Valid flags and the fields that they identify
are:
┌────────────────────┬────────────────────────────────────────┐
│Flag │Field │
├────────────────────┼────────────────────────────────────────┤
│MBB_COLOR │lColor │
├────────────────────┼────────────────────────────────────────┤
│MBB_BACK_COLOR │lBackColor │
├────────────────────┼────────────────────────────────────────┤
│MBB_MIX_MODE │usMixMode │
├────────────────────┼────────────────────────────────────────┤
│MBB_BACK_MIX_MODE │usBackMixMode │
├────────────────────┼────────────────────────────────────────┤
│MBB_SET │usSet │
├────────────────────┼────────────────────────────────────────┤
│MBB_SYMBOL │usSymbol │
├────────────────────┼────────────────────────────────────────┤
│MBB_BOX │sizfxCell │
└────────────────────┴────────────────────────────────────────┘
mbnd
The fields of a MARKERBUNDLE structure are:
lColor
lBackColor
usMixMode
Marker foreground mix mode.
usBackMixMode
Marker background mix mode.
usSet
Specifies a local identifier (lcid) for the logical
font:
- Base marker set
Nonzero
Local identifier for the font identified
in the mdef.defSet field of the marker attributes bundle.
usSymbol
sizfxCell
Specifies fixed-point numbers for the width and
height of a marker cell in world-coordinate space. This defines the background
area for a marker. Each dimension is represented as a signed four-byte integer
with a notational binary point between bit 16 and bit 15. Therefore, +2.5
is represented by 00028000h, and -2.5 is represented by FFFD8000h. The value
of this attribute only affects the size of markers drawn with an outline
(vector) font or marker set. Markers drawn from image (raster) sets are
not affected.
mdef
The
fields of a MARKERDEFS structure are:
defSet
Marker set definition. If this value is passed
as 0, the presentation driver must use the default marker set. If the CDEF_GENERIC
flag is set, this is a pointer to an engine font. Otherwise, it is a device-font
identifier defined by the presentation driver.
fFlags
Valid flags are:
CDEF_GENERIC
Engine font (not device font)
CDEF_BOLD
Marker must be emboldened
CDEF_ITALIC
Marker must be italicized
CDEF_UNDERLINE
Marker must be underlined
CDEF_STRIKEOUT
Marker must be struck out
CodePage
[Back: Marker Attributes]
[Next: Bit-Map Functions]