PEXSetLineWidth(3) — Subroutines
Name
PEXSetLineWidth - Set Line Width
Synopsis
void PEXSetLineWidth(Display ∗display, XID resource_id, PEXOCRequestType req_type, double width)
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).
widthThe line width scale factor.
Returns
None
Description
This function creates an output primitive attribute which sets the line width attribute. The specified width is used as a scale factor. This scale factor is used to increase or decrease the width (in pixels) from the nominal line width for the display device. The result is mapped to the nearest supported line width.
Errors
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXGetImpDepConstants, PEXSetIndividualASF