void PEXOCCSetPatternAttributes2D( PEXOCC context, PEXCoord2D *ref_point )
void PEXSetPatternAttributes2D( Display *display, XID resource_id, PEXOCRequestType req_type, PEXCoord2D *ref_point )
None.
Invoke PEXOCCSetPatternAttributes2D to create an attribute output command which sets the pattern reference point and both pattern reference vector attributes, in 2D modeling coordinates, in the renderer's pipeline state.
To determine if your implementation supports PEXInteriorStylePattern, invoke the PEXGetEnumTypeInfo request. If the style is supported, then the pipeline state's interior style index selects an entry of the renderer's pattern table and applies it to fill area primitives of interior style PEXInteriorStylePattern.
The pattern reference point is set to ref_point with a z coordinate of zero. The two pattern reference vectors are set to <1,0,0> and <0,1,0> (see PEXOCCSetPatternAttributes). If you specify the surface interior style as PEXInteriorStylePattern, then the implementation uses the pattern reference point and the reference vectors to position and scale the pattern on the surface.
This function is a member of the styled and shaded surface attribute set.
For an overview and for a list of output attribute functions, see Output Attribute Functions.