Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetSurfaceColorIndex(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetSurfaceColorIndex(3)  —  Subroutines

Name

PEXSetSurfaceColorIndex - Set Surface Color Index

Synopsis

void PEXSetSurfaceColorIndex(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 surfaces. 

Returns

None

Description

This function creates an output primitive attribute which sets the surface color attribute to an indexed color with the value indicated by index.  If the specified 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