In This Topic ▼

PAINTTRANSFORM

Summary

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

Syntax

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

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.

Usage

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.