void PEXOCCSetGlobalTransform2D( PEXOCC context, PEXMatrix3x3 transform, PEXMatrixHints hints )
void PEXSetGlobalTransform2D( Display *display, XID resource_id, PEXOCRequestType req_type, PEXMatrix3x3 transform )
None.
Invoke PEXOCCSetGlobalTransform2D to create an attribute output command which replaces the current global transformation matrix with the specified matrix in the renderer's pipeline state.
The PEXOCCSetGlobalTransform2D function generates a PEXOCGlobalTransform2DWithHints output command. However, if the PEX server on the display connection is version 5.1 or the Alternate Protocol Level is 5.1, then this function generates a PEXOCGlobalTransform2D output command, ignoring any supplied hint.
The PEXSetGlobalTransform2D function generates a PEXOCGlobalTransform2D output command.
This attribute output command is similar to the PEXOCCSetGlobalTransform function except that you specify the global transformation matrix as a 3 x 3 matrix.
Before the implementation replaces the global transformation matrix, the 3 x 3 matrix is expanded to a 4 x 4 matrix as follows:
The matrix hints, if given, are representative of the matrix after it has been expanded.
This function is a member of the global attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.