void PEXOCCSetLineType(
PEXOCC context,
int line_type
)
void PEXSetLineType(
Display *display,
XID resource_id,
PEXOCRequestType req_type
int line_type
)
None.
Invoke PEXOCCSetLineType to create an attribute output command which sets the line type attribute in the renderer's pipeline state according to the value specified by line_type.
By setting the line type attribute's ASF to PEXIndividual (see PEXOCCSetIndividualASF), you use the pipeline state's line type entry to define the line types used when rendering line primitives. When you set the line type attribute's ASF to PEXBundled, the implementation uses the line type from the line bundle table.
PEXlib defines the following line types (line_type):
Whether line types, except PEXLineTypeSolid, are restarted or continued at the start of the polyline, at the start of a clipped segment of a polyline, or at each vertex of a polyline is implementation-dependent.
If the implementation does not support the specified line type (line_type), then the line type defaults to PEXLineTypeSolid. Inquire the supported values for the line type by invoking the PEXGetEnumTypeInfo function.
The line type function is a member of the line attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.