PAINTTRANSFORM
typedef struct _PAINTTRANSFORM
{
L_INT nRotate;
SIZE Scale;
} PAINTTRANSFORM, L_FAR * pPAINTTRANSFORM
The PAINTTRANSFORM structure contains information used to transform (scale and rotate) coordinates.
Member |
Description |
|
nRotate |
Rotation angle. The angle is in degrees using anti clockwise direction. |
|
Scale |
Scaling factor. |
|
|
cx will be used to scale the coordinates in the horizontal direction. |
|
|
cy will be used to scale the coordinates in the vertical direction. |
|
|
For example |
|
|
Value |
Meaning |
|
100 |
The same dimensions. |
|
110 |
1.1 times the original dimensions |
|
120 |
1.2 times the original dimensions. |
|
10000 |
100 times larger than the original dimensions. |
|
99 |
0.99 times the original dimensions. |
|
98 |
0.98 times the original dimensions. |
|
1 |
0.01 times the original dimensions. |