typedef struct _PAINTTRANSFORM
{
L_INT nRotate;
SIZE Scale;
} PAINTTRANSFORM, * pPAINTTRANSFORM
The PAINTTRANSFORM structure contains information used to transform (scale and rotate) coordinates.
Rotation angle. The angle is in degrees, counter-clockwise.
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.
Valid values are between 1 and 10000, For example:
Value | Meaning |
---|---|
100 | the same. |
110 | 1.1 times the original dimensions |
120 | 1.2 times the original dimensions up to |
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. |