Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetTableEntries(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetTableEntries(3)  —  Subroutines

Name

PEXSetTableEntries - Set Lookup Table Entries

Synopsis

void PEXSetTableEntries(Display ∗display, PEXLookupTable table, unsigned int start, unsigned int count, int table_type, PEXPointer entries)

Arguments

displayA pointer to a display structure returned by a successful XOpenDisplay call. 

tableThe resource identifier of the lookup table. 

startThe index of the first table entry to be set. 

countThe number of table entries to be set. 

typeThe type of lookup table entries to be set (see the Description). 

entriesAn array of table entries. 

Returns

None

Description

This function sets lookup table entries in the specified lookup table, starting at the specified entry index. 

The entries must point to an array of structures having one of the following types:

PEXTextFontEntry if type is PEXLUTTextFont
PEXViewEntry if type is PEXLUTView
PEXColorApproxEntry if type is PEXLUTColorApprox
PEXLineBundleEntry if type is PEXLUTLineBundle
PEXMarkerBundleEntry if type is PEXLUTMarkerBundle
PEXTextBundleEntry if type is PEXLUTTextBundle
PEXInteriorBundleEntry if type is PEXLUTInteriorBundle
PEXEdgeBundleEntry if type is PEXLUTEdgeBundle
PEXLightEntry if type is PEXLUTLight
PEXDepthCueEntry if type is PEXLUTDepthCue
PEXColorEntry if type is PEXLUTColor
PEXPatternEntry if type is PEXLUTPattern

Data Structures

typedef XID             PEXLookupTable;
#if NeedFunctionPrototypes
typedef void ∗PEXPointer;
#else
typedef char ∗PEXPointer;
#endif

Errors

BadAllocThe server failed to allocate the resource. 

BadPEXColorType
The specified color type is invalid or unsupported.

BadPEXLookupTable
The specified lookup table resource identifier is invalid, or the table type is unsupported.

BadValueThe sum of start plus count is too large, a table entry field contains an invalid value, or index 0 is invalid for the specified table type. 

See Also

PEXCreateLookupTable, PEXGetTableInfo, PEXGetPredefinedEntries,
PEXGetDefinedIndices, PEXGetTableEntry, PEXGetTableEntries

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