PEXBuildTransform2D(3) — Subroutines
Name
PEXBuildTransform2D
Synopsis
void PEXBuildTransform2D(PEXCoord2D ∗fixed_point, PEXVector2D ∗trans_vector, double angle_z, PEXVector2D ∗scale_vector, PEXMatrix3x3 matrix_return)
Arguments
fixed_pointorigin for scaling and rotation
trans_vectortranslation vector
angle_zangle of rotation about Z axis, in radians
scale_vectorvector of scale factors for X and Y axes
matrix_return
matrix in which result is stored
Returns
None
Description
This function builds a 3X3 transformation matrix that scales by the values in the scale vector about the fixed point, rotates about Z axis using the fixed point as the center of rotation and then translates according to translation vector, in that order.
Errors
None
See Also
PEXBuildTransform