.\" @(#)PEXSetTableEntries.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetTableEntries 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetTableEntries - Set Lookup Table Entries .SH SYNTAX .HP void PEXSetTableEntries\^(\^Display *\fIdisplay\fP\^, PEXLookupTable \fItable\fP\^, unsigned int \fIstart\fP\^, unsigned int \fIcount\fP\^, int \fItable_type\fP\^, PEXPointer \fIentries\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fItable\fP 1i The resource identifier of the lookup table. .IP \fIstart\fP 1i The index of the first table entry to be set. .IP \fIcount\fP 1i The number of table entries to be set. .IP \fItype\fP 1i The type of lookup table entries to be set (see the Description). .IP \fIentries\fP 1i An array of table entries. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetTableEntries .LP This function sets lookup table entries in the specified lookup table, starting at the specified entry index. .LP The entries must point to an array of structures having one of the following types: .LP .B PEXTextFontEntry if type is .B PEXLUTTextFont .br .B PEXViewEntry if type is .B PEXLUTView .br .B PEXColorApproxEntry if type is .B PEXLUTColorApprox .br .B PEXLineBundleEntry if type is .B PEXLUTLineBundle .br .B PEXMarkerBundleEntry if type is .B PEXLUTMarkerBundle .br .B PEXTextBundleEntry if type is .B PEXLUTTextBundle .br .B PEXInteriorBundleEntry if type is .B PEXLUTInteriorBundle .br .B PEXEdgeBundleEntry if type is .B PEXLUTEdgeBundle .br .B PEXLightEntry if type is .B PEXLUTLight .br .B PEXDepthCueEntry if type is .B PEXLUTDepthCue .br .B PEXColorEntry if type is .B PEXLUTColor .br .B PEXPatternEntry if type is .B PEXLUTPattern .SH DATA STRUCTURES .LP .nf typedef XID PEXLookupTable; .sp #if NeedFunctionPrototypes typedef void *PEXPointer; #else typedef char *PEXPointer; #endif .fi .SH ERRORS .TP .SB BadAlloc The server failed to allocate the resource. .TP .SB BadPEXColorType The specified color type is invalid or unsupported. .TP .SB BadPEXLookupTable The specified lookup table resource identifier is invalid, or the table type is unsupported. .TP .SB BadValue The sum of .I start plus .I count is too large, a table entry field contains an invalid value, or index 0 is invalid for the specified table type. .SH SEE ALSO .LP .nf .BR PEXCreateLookupTable (3) .BR PEXGetTableInfo (3) .BR PEXGetPredefinedEntries (3) .BR PEXGetDefinedIndices (3) .BR PEXGetTableEntry (3) .BR PEXGetTableEntries (3) .fi