In This Topic ▼


typedef struct _PAINTTRANSFORM 
   L_INT nRotate; 
   SIZE   Scale; 

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.
Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help