Attributes of Line and Arc Primitives

The attributes of the line and arc primitives contained in LINEBUNDLE are:

The line end and line join attributes apply only to lines drawn in a primitive called a path.

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

Line Attribute Default Values

┌───────────────┬──────────────┬───────────────────────────────┐│Attribute      │Default Value │Function that Redefines        │
│               │              │Attribute                      │
├───────────────┼──────────────┼───────────────────────────────┤
│Width          │1.0           │GpiSetLineWidth                │
├───────────────┼──────────────┼───────────────────────────────┤
│Geometric width│None          │GpiSetLineWidthGeom            │
├───────────────┼──────────────┼───────────────────────────────┤
│Type           │LINETYPE_SOLID│GpiSetLineType                 │
├───────────────┼──────────────┼───────────────────────────────┤
│Color          │CLR_NEUTRAL   │GpiSetAttrs (LBB_COLOR)        │
├───────────────┼──────────────┼───────────────────────────────┤
│Mix attribute  │FM_OVERPAINT  │GpiSetAttrs (LBB_MIX_MODE)     │
└───────────────┴──────────────┴───────────────────────────────┘


[Back: About Line and Arc Primitives]
[Next: Line Width and Geometric Width]