PEXCopyLookupTable - Copy Lookup Table (5.0)


Synopsis

 
   void PEXCopyLookupTable(
        Display *display,
        PEXLookupTable src_table,
        PEXLookupTable dst_table
   )
 

Arguments

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

src_table
The resource identifier of the source lookup table.

dst_table
The resource identifier of the destination lookup table.

Returns

None.

Description

Invoke PEXCopyLookupTable to copy entries from the source lookup table (src_table) to the destination lookup table (dst_table). This function deletes all entries in the destination lookup table first.

Both tables must already exist as valid lookup table resources and both must be the same table type. You also must have created both lookup tables for the same class of drawables.

Errors

BadMatch
The specified lookup tables were not created with compatible drawables.

BadPEXLookupTable
A specified lookup table resource identifier is invalid.

See Also

For an overview, see Lookup Tables.