Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetLineColorIndex(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetLineColorIndex(3)  —  Subroutines

Name

PEXSetLineColorIndex - Set Line Color Index

Synopsis

void PEXSetLineColorIndex(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 color table index for lines. 

Returns

None

Description

This function creates an output primitive attribute which sets the line color attribute to an indexed color with the value indicated by index.  If the color index is not defined, color index one is used.  If color index one is not defined, the result is implementation-dependent. 

Errors

BadPEXOutputCommand
The color index value exceeds 65534.

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

PEXSetIndividualASF, PEXCreateLookupTable

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026