PEXSetLineType(3) — Subroutines
Name
PEXSetLineType - Set Line Type
Synopsis
void PEXSetLineType(Display ∗display, XID resource_id, PEXOCRequestType req_type, int line_type)
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).
line_typeThe line type (PEXLineTypeSolid, PEXLineTypeDashed, PEXLineTypeDotted, PEXLineTypeDashDot).
Returns
None
Description
This function creates an output primitive attribute which sets the line type attribute. If the specified line type is not supported, PEXLineTypeSolid is used. Supported values for line type are inquirable via PEXGetEnumTypeInfo.
Errors
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXGetEnumTypeInfo, PEXSetIndividualASF