Attributes of Marker Primitives

Marker primitive attributes are contained in a data structure called MARKERBUNDLE. Following is a list of these attributes:

When an application creates a presentation space, the marker attributes are set to the default values shown in the following table.

Marker Attribute Default Values

┌────────────────┬──────────────────┬──────────────────────────┐│Attribute       │Default Value     │Function that Redefines   │
│                │                  │Attribute                 │
├────────────────┼──────────────────┼──────────────────────────┤
│Marker symbol   │Cross             │GpiSetMarker              │
├────────────────┼──────────────────┼──────────────────────────┤
│Marker box      │Device dependent; │GpiSetMarkerBox           │
│                │equal to the size │                          │
│                │of one character  │                          │
├────────────────┼──────────────────┼──────────────────────────┤
│Marker set      │LCID_DEFAULT      │GpiSetMarkerSet           │
│                │                  │Note:  If this default is │
│                │                  │changed, the base marker  │
│                │                  │set cannot be reselected  │
│                │                  │with GpiSetMarkerSet.     │
├────────────────┼──────────────────┼──────────────────────────┤
│Foreground color│Black             │GpiSetAttrs (MBB_COLOR)   │
├────────────────┼──────────────────┼──────────────────────────┤
│Background color│Clear             │GpiSetAttrs               │
│                │                  │(MBB_BACK_COLOR)          │
├────────────────┼──────────────────┼──────────────────────────┤
│Foreground mix  │Overpaint         │GpiSetAttrs (MBB_MIX_MODE)│
├────────────────┼──────────────────┼──────────────────────────┤
│Background mix  │Leave alone       │GpiSetAttrs               │
│                │                  │(MBB_BACK_MIX_MODE)       │
└────────────────┴──────────────────┴──────────────────────────┘


[Back: About Marker Primitives]
[Next: Marker Symbols]