PEXSetSurfaceEdgeType(3) — Subroutines
Name
PEXSetSurfaceEdgeType - Set Surface Edge Type
Synopsis
void PEXSetSurfaceEdgeType(Display ∗display, XID resource_id, PEXOCRequestType req_type, int edge_type)
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).
edge_typeThe surface edge type (PEXSurfaceEdgeSolid, PEXSurfaceEdgeDashed, PEXSurfaceEdgeDotted, PEXSurfaceEdgeDashDot).
Returns
None
Description
This function creates an output primitive attribute which sets the surface edge type attribute. If the specified edge type is not supported, PEXSurfaceEdgeSolid is used. Supported values for surface edge type are inquirable via PEXGetEnumTypeInfo.
Errors
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXGetEnumTypeInfo, PEXSetIndividualASF