PEXSetLineBundleIndex(3) — Subroutines
Name
PEXSetLineBundleIndex - Set Line Bundle Index
Synopsis
void PEXSetLineBundleIndex(Display ∗display, XID resource_id, PEXOCRequestType req_type, unsigned int index)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
resource_idThe resource identifier of the renderer or structure.
req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).
indexThe line bundle table index.
Returns
None
Description
This function creates an output primitive attribute which sets the line bundle index attribute. If an undefined line bundle index is specified, the default bundle index one is used. If index one is not defined, the following values are used: line type is PEXLineTypeSolid; polyline interpolation is PEXPolylineInterpNone; curve approximation is method 1 (PEXApproxImpDep) with a tolerance of 1.0; line width is 1.0 and line color is index color one.
A line bundle table index of 0 will produce a BadPEXOutputCommand error.
Errors
BadPEXOutputCommand
The output command contains an invalid value.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXSetIndividualASF, PEXCreateLookupTable