PEXSetBFSurfaceColor(3) — Subroutines
Name
PEXSetBFSurfaceColor - Set Back-Face Surface Color
Synopsis
void PEXSetBFSurfaceColor(Display ∗display, XID resource_id, PEXOCRequestType req_type, int color_type, PEXColor ∗color)
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).
color_typeThe type of color (PEXColorTypeIndexed, PEXColorTypeRGB, PEXColorTypeCIE, PEXColorTypeHSV, PEXColorTypeHLS, PEXColorTypeRGB8, PEXColorTypeRGB16).
colorA pointer to the back-facing surface color.
Returns
None
Description
This function creates an output primitive attribute which sets the back-facing surface color attribute. The attribute is set to either an indexed color or a direct color value, depending on the color type. If the color type is PEXColorTypeIndexed and the specified color index is not defined, color index one is used. If color index one is not defined, the result is implementation-dependent.
Data Structures
See the PEXStructuresman page.
Errors
BadPEXOutputCommand
The output command contains an invalid value, e.g. the color type is PEXColorTypeIndexed, and 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