PEXSetInteriorStyle(3) — Subroutines
Name
PEXSetInteriorStyle - Set Surface Interior Style
Synopsis
void PEXSetInteriorStyle(Display ∗display, XID resource_id, PEXOCRequestType req_type, int style)
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).
styleThe interior style (PEXInteriorStyleHollow, PEXInteriorStyleSolid, PEXInteriorStylePattern, PEXInteriorStyleHatch, PEXInteriorStyleEmpty).
Returns
None
Description
This function creates an output primitive attribute which sets the surface interior style attribute. If the specified style is not supported, PEXInteriorStyleHollow is used. Supported values for surface interior style are inquirable via PEXGetEnumTypeInfo.
Errors
BadPEXOutputCommand
The output command contains an invalid value.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXGetEnumTypeInfo, PEXSetIndividualASF