void PEXOCCSetLocalTransform2D(
PEXOCC context,
int composition,
PEXMatrix3x3 transform,
PEXMatrixHints hints
)
void PEXSetLocalTransform2D(
Display *display,
XID resource_id,
PEXOCRequestType req_type,
int composition,
PEXMatrix3x3 transform
)
None.
Invoke PEXOCCSetLocalTransform2D to create an attribute output command which modifies the local transformation matrix in the renderer's pipeline state.
The PEXOCCSetLocalTransform2D function generates a PEXOCLocalTransform2DWithHints 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 PEXOCLocalTransform2D output command, ignoring any supplied hint.
The PEXSetLocalTransform2D function generates a PEXOCLocalTransform2D output command.
This output command is similar to the PEXOCCSetLocalTransform function except that you specify the local transformation matrix as a 3x3 matrix. Before modification of the local transformation matrix, the 3x3 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.
The local transform 2D function is a member of the global attribute set.
For an overview and for a list of output attribute functions, see Output Attribute Functions.