Matrix2x4& SetRectToRect(T srcX1, T srcY1, T srcX2, T srcY2, T dstX1, T dstY1, T dstX2, T dstY2);
SetRectToRect transforms a rectangle to a new rectangle.
Parameters |
Description |
T srcX1 |
The x coordinate value of the bottom left corner of the original rectangle. |
T srcY1 |
The y coordinate value of the bottom left corner of the original rectangle. |
T srcX2 |
The x coordinate value of the top right corner of the original rectangle. |
T srcY2 |
The y coordinate value of the top right corner of the original rectangle. |
T dstX1 |
The x coordinate value of the bottom left corner of the new rectangle. |
T dstY1 |
The y coordinate value of the bottom left corner of the new rectangle. |
T dstX2 |
The x coordinate value of the top right corner of the new rectangle. |
T dstY2 |
The y coordinate value of the top right corner of the new rectangle. |
A Matrix2x4 reference to the transformed rectangle.