Line Attributes


For an overview, see Primitives and Attributes.

The attributes that affect line primitives are:

 
-----------------------------------------------------------------------------------------------
Line Bundle Index OC           PEXOCCSetLineBundleIndex
    Line Cap Style OC (ASF)    PEXOCCSetLineCapStyle
    Line Color OC (ASF)        PEXOCCSetLineColor
    Line Color Index OC (ASF)  PEXOCCSetLineColorIndex
    Line Join Style OC (ASF)   PEXOCCSetLineJoinStyle
    Line Type OC (ASF)         PEXOCCSetLineType
    Line Width OC (ASF)        PEXOCCSetLineWidth
Line Bundle Table RA           Line Bundle Table (LUT) and
                                  Line Bundle Table (Renderer)
Line Miter Limit OC            PEXOCCSetLineMiterLimit
-----------------------------------------------------------------------------------------------
 

The PEXlib line primitives affected by the above line attributes include:

 
-------------------------------------------------------------------------------------
Arcs                        PEXOCCArcs
Non-uniform B-spline Curve  PEXOCCNURBCurve
Polyline                    PEXOCCPolyline
Polylines                   PEXOCCPolylines
-------------------------------------------------------------------------------------
 

See the sections referenced above for information about each of the line primitives and the attributes that affect them.

Clipping of Lines
Line primitives are not displayed if you define them outside of the currently defined clipping volume. Lines which cross the clipping volume are clipped and only portions inside of the clipping volume are displayed.

Line Bundle Index and Aspect Source Flag
Whenever you render a line primitive, each of the line attributes is obtained directly from the current pipeline state or indirectly from a line bundle lookup table. Your application determines the source for the attribute by the current settings of the polyline aspect source flag or ASF's. If your application sets the attributes's ASF to the value PEXIndividual, then your application obtains the attribute value directly from the current pipeline state. If your application sets an attribute's ASF to the value PEXBundled, then your application obtains the attribute value from the current line bundle table.