void PEXOCCSetLocalTransform( PEXOCC context, int composition, PEXMatrix transform, PEXMatrixHints hints )
void PEXSetLocalTransform( Display *display, XID resource_id, PEXOCRequestType req_type, int composition, PEXMatrix transform )
None.
Invoke PEXOCCSetLocalTransform to create an attribute output command which modifies the local transformation matrix in the renderer's pipeline state.
The PEXOCCSetLocalTransform function generates a PEXOCLocalTransformWithHints 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 PEXOCLocalTransform output command, ignoring any supplied hint.
The PEXSetLocalTransform function generates a PEXOCLocalTransform output command.
PEXlib defines the following composition types (composition): (5.0)
See PEXSetGlobalTransform for the definition of the matrix (hints): (5.2)
You may supply more than one matrix hint by or'ing them together.
If you provide undefined hints or hints which do not accurately describe the matrix, then the result is implementation-dependent.
If you use the PEXSetLocalTransform function, then the implementation assumes the hint is PEXMHNone. The non-OCC version of the interface does not support the hints argument, for backwards compatibility with previous versions of PEXlib.
The implementation is not required to use the hints and may therefore set the pipeline state's local transform hints to PEXMHNone.
The implementation then recomputes the composite matrix using the current global transformation and the new local transformation matrix (C = G W L').
If the composition type is not valid, then the implementation issues a BadPEXOutputCommand error.
The local transform is a member of the global attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.