PEXSetInteriorStyleIndex(3) — Subroutines
Name
PEXSetInteriorStyleIndex - Set Surface Interior Style Index
Synopsis
void PEXSetInteriorStyleIndex(Display ∗display, XID resource_id, PEXOCRequestType req_type, 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 interior style index.
Returns
None
Description
This function creates an output primitive attribute which sets the interior style index attribute. If the current interior style is PEXInteriorStylePattern or PEXInteriorStyleHatch, the specified index is used to further define the rendering style of front-facing surface primitives. For PEXInteriorStylePattern, if the specified pattern table index is not defined, table index one is used. For PEXInteriorStyleHatch, the index determines the hatch style. If the specified hatch style is not supported, style one is used. If style one is not supported, the result is implementation-dependent. Supported values for hatch style are inquirable via PEXGetEnumTypeInfo.
Errors
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXSetIndividualASF, PEXCreateLookupTable, PEXGetEnumTypeInfo