PEXSetPatternAttributes2D(3) — Subroutines
Name
PEXSetPatternAttributes2D - Set Pattern Interior Style Reference Point
Synopsis
void PEXSetPatternAttributes2D(Display ∗display, XID resource_id, PEXOCRequestType req_type, PEXCoord2D ∗ref_point)
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).
ref_pointThe pattern reference point.
Returns
None
Description
This function creates an output primitive attribute which sets the pattern reference point and both pattern reference vector attributes, in 2D modeling coordinates. The pattern reference point is set to <x,y,0> and the two pattern reference vectors are set to <1,0,0> and <0,1,0>. If the surface interior style is PEXInteriorStylePattern, the pattern reference point and the reference vectors are used to position and scale the pattern on the surface.
Data Structures
See the PEXStructuresman page.
Errors
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.