.\" @(#)PEXSetPatternAttributes2D.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetPatternAttributes2D 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetPatternAttributes2D - Set Pattern Interior Style Reference Point .SH SYNTAX .HP void PEXSetPatternAttributes2D\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, PEXCoord2D *\fIref_point\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fIresource_id\fP 1i The resource identifier of the renderer or structure. .IP \fIreq_type\fP 1i The request type for the output command ( .B PEXOCRender, .B PEXOCStore, .B PEXOCRenderSingle or .B PEXOCStoreSingle ). .IP \fIref_point\fP 1i The pattern reference point. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetPatternAttributes2D .LP 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 and the two pattern reference vectors are set to <1,0,0> and <0,1,0>. If the surface interior style is .B PEXInteriorStylePattern, the pattern reference point and the reference vectors are used to position and scale the pattern on the surface. .SH DATA STRUCTURES .LP See .B PEXlib.h. .sp .SH ERRORS .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid.