|
Foxit PDF SDK
|
Public Member Functions | |
| Concat (a, b, c, d, e, f, bPrepended) | |
| Concatenate with another matrix. More... | |
| Concat (m, bPrepended) | |
| Concatenate with another matrix. More... | |
| ConcatInverse (m, bPrepended) | |
| Concatenate the inverse of another matrix. More... | |
| constructor () | |
| Construct a identity transformation matrix. | |
| constructor (a1, b1, c1, d1, e1, f1) | |
| Construct a matrix with six input coefficients. More... | |
| GetUnitArea () | |
| Get area of the parallelogram composing two unit vectors. More... | |
| GetUnitRect () | |
| Get a bounding rectangle of the parallelogram composing two unit vectors. More... | |
| GetXUnit () | |
| Get the x-direction unit size. More... | |
| GetYUnit () | |
| Get the y-direction unit size. More... | |
| Is90Rotated () | |
| Whether this matrix has rotating of 90, or -90 degrees. More... | |
| IsIdentity () | |
| Determine whether a matrix is an identity transformation or not. More... | |
| IsInvertible () | |
| Determine whether a matrix is invertible or not. More... | |
| IsScaled () | |
| Whether this matrix has scaling (or translating) only. No rotating. More... | |
| MatchRect (dest, src) | |
| Get a matrix that transforms a source rectangle to dest rectangle. More... | |
| Reset () | |
| Reset current matrix. More... | |
| Rotate (fRadian, bPrepended) | |
| Rotate the matrix. More... | |
| RotateAt (fRadian, x, y, bPrepended) | |
| Rotate the matrix at a position. More... | |
| Scale (sx, sy, bPrepended) | |
| Scale the matrix. More... | |
| Set (a, b, c, d, e, f) | |
| Change the coefficients in the matrix. More... | |
| SetIdentity () | |
| Set the matrix to be an identity transformation matrix. More... | |
| SetReverse (m) | |
| Set the coefficients of the inverse of another matrix to this matrix. More... | |
| Shear (fAlphaRadian, fBetaRadian, bPrepended) | |
| Shear the matrix. More... | |
| TransformDistance (dx, dy) | |
| Transform distance specified by x and y value. More... | |
| TransformDistance (dx, dy) | |
| Transform distance specified by x and y value. More... | |
| TransformDistance (distance) | |
| Transform a distance. More... | |
| TransformPoint (x, y) | |
| Transform point specified by x and y value. More... | |
| TransformRect (rect) | |
| Transform a rectangle and return a bounding rectangle. The result rectangle is always normalized: left <= right, and bottom <= top. More... | |
| TransformRect (rect) | |
| Transform a rectangle and return a bounding rectangle. The result rectangle is always normalized: left <= right, and bottom <= top. More... | |
| TransformXDistance (dx) | |
| Transform a x-distance. More... | |
| TransformYDistance (dy) | |
| Transform a y-distance. More... | |
| Translate (x, y, bPrepended) | |
| Translate the matrix. More... | |
| TranslateI (x, y, bPrepended) | |
| Translate the matrix. using integer value. More... | |
Public Attributes | |
| a | |
| The coefficient a. | |
| b | |
| The coefficient b. | |
| c | |
| The coefficient c. | |
| d | |
| The coefficient d. | |
| e | |
| The coefficient e. | |
| f | |
| The coefficient f. | |
Affine (linear) transformation matrix.
It defines six coefficients: a, b, c, d, e, f. The transformation equations are: dest_x = a * src_x + c * src_y + e; dest_y = b * src_x + d * src_y + f;
|
inline |
Concatenate with another matrix.
| [in] | a | The coefficient a of the input matrix. |
| [in] | b | The coefficient b of the input matrix. |
| [in] | c | The coefficient c of the input matrix. |
| [in] | d | The coefficient d of the input matrix. |
| [in] | e | The coefficient e of the input matrix. |
| [in] | f | The coefficient f of the input matrix. |
| [in] | bPrepended | If this is true, the concatenation matrix is multiplied at left side, or at right side. |
|
inline |
Concatenate with another matrix.
| [in] | m | The input matrix. |
| [in] | bPrepended | If this is true, the concatenation matrix is multiplied at left side, or at right side. |
|
inline |
Concatenate the inverse of another matrix.
| [in] | m | The input matrix. |
| [in] | bPrepended | If this is true, the concatenation matrix is multiplied at left side, or at right side. |
|
inline |
Construct a matrix with six input coefficients.
| [in] | a1 | The input coefficient a. |
| [in] | b1 | The input coefficient b. |
| [in] | c1 | The input coefficient c. |
| [in] | d1 | The input coefficient d. |
| [in] | e1 | The input coefficient e. |
| [in] | f1 | The input coefficient f. |
|
inline |
Get area of the parallelogram composing two unit vectors.
|
inline |
Get a bounding rectangle of the parallelogram composing two unit vectors.
|
inline |
Get the x-direction unit size.
|
inline |
Get the y-direction unit size.
|
inline |
Whether this matrix has rotating of 90, or -90 degrees.
|
inline |
Determine whether a matrix is an identity transformation or not.
|
inline |
Determine whether a matrix is invertible or not.
|
inline |
Whether this matrix has scaling (or translating) only. No rotating.
|
inline |
Get a matrix that transforms a source rectangle to dest rectangle.
| [in] | dest | The dest rectangle. |
| [in] | src | The source rectangle. |
|
inline |
Reset current matrix.
| [in] | m | The input matrix. |
|
inline |
Rotate the matrix.
| [in] | fRadian | Rotation angle in radian. |
| [in] | bPrepended | If it's true, a rotation matrix is multiplied at left side, or at right side. |
|
inline |
Rotate the matrix at a position.
| [in] | fRadian | Rotation angle in radian. |
| [in] | x | The x coordinate from which to rotate. |
| [in] | y | The y coordinate from which to rotate. |
| [in] | bPrepended | If this is true, a rotation matrix is multiplied at left side, or at right side. |
|
inline |
Scale the matrix.
| [in] | sx | The x-direction scale coefficient. |
| [in] | sy | The y-direction scale coefficient. |
| [in] | bPrepended | If this is true, a scaling matrix is multiplied at left side, or at right side. |
|
inline |
Change the coefficients in the matrix.
| [in] | a | The input coefficient a. |
| [in] | b | The input coefficient b. |
| [in] | c | The input coefficient c. |
| [in] | d | The input coefficient d. |
| [in] | e | The input coefficient e. |
| [in] | f | The input coefficient f. |
|
inline |
Set the matrix to be an identity transformation matrix.
|
inline |
Set the coefficients of the inverse of another matrix to this matrix.
| [in] | m | The input matrix. |
|
inline |
Shear the matrix.
| [in] | fAlphaRadian | Shearing angle of x axis. |
| [in] | fBetaRadian | Shearing angle of y axis. |
| [in] | bPrepended | If this is true, a shearing matrix is multiplied at left side, or at right side. |
|
inline |
Transform distance specified by x and y value.
| [in] | dx | The input x value. |
| [in] | dy | The input y value. |
|
inline |
Transform distance specified by x and y value.
| [in] | dx | The input x value. |
| [in] | dy | The input y value. |
|
inline |
Transform a distance.
| [in] | distance | The input distance. |
|
inline |
Transform point specified by x and y value.
| [in,out] | x | The input x-coordinate of the point, and it receives the output transformed x-coordinate. |
| [in,out] | y | The input y-coordinate of the point, and it receives the output transformed y-coordinate. |
|
inline |
Transform a rectangle and return a bounding rectangle. The result rectangle is always normalized: left <= right, and bottom <= top.
| [in,out] | rect | The input rectangle, and it receives the output transformed and normalized rectangle. |
|
inline |
Transform a rectangle and return a bounding rectangle. The result rectangle is always normalized: left <= right, and bottom <= top.
| [in,out] | rect | The input rectangle, and it receives the output transformed and normalized rectangle. |
|
inline |
Transform a x-distance.
| [in] | dx | The input x-distance. |
|
inline |
Transform a y-distance.
| [in] | dy | The input y-distance. |
|
inline |
Translate the matrix.
| [in] | x | The x-direction delta value. |
| [in] | y | The y-direction delta value. |
| [in] | bPrepended | If this is true, a translation matrix is multiplied at left side, or at right side. |
|
inline |
Translate the matrix. using integer value.
| [in] | x | The x-direction delta integer value. |
| [in] | y | The y-direction delta integer value. |
| [in] | bPrepended | If this is true, a translation matrix is multiplied at left side, or at right side. |