In This Topic ▼

PAINTTRANSFORM

typedef struct _PAINTTRANSFORM 
{ 
   L_INT nRotate; 
   SIZE   Scale; 
} PAINTTRANSFORM, * pPAINTTRANSFORM 

The PAINTTRANSFORM structure contains information used to transform (scale and rotate) coordinates.

Members

nRotate

Rotation angle. The angle is in degrees, counter-clockwise.

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.

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

LEADTOOLS DigitalPaint C++ Class Library Help