Contains information about a transformation for use with vector graphics output.
typedef struct SOTRANSFORMtag {
WORD wTransformFlags; // see below
SOPOINT Origin; // see below
INT xOffset; // see below
INT yOffset; // see below
SORATIO xScale; // see below
SORATIO yScale; // see below
SORATIO xSkew; // see below
SORATIO ySkew; // see below
SOANGLE RotationAngle; // see below
} SOTRANSFORM, VWPTR *PSOTRANSFORM;
|
SOTF_NOTRANSFORM |
SOTF_XSKEW |
|
SOTF_ROTATE |
SOTF_YOFFSET |
|
SOTF_XOFFSET |
SOTF_YSCALE |
|
SOTF_XSCALE |
SOTF_YSKEW |
TSOTF_ROTATE may be combined only with SOTF_XOFFSET and SOTF_YOFFSET. In
addition, no other values may be combined with SOTF_NOTRANSFORM.
The transformation equation follows.
x' = Origin.x + (xScale * (x-Origin.x)) + (xSkew*(y-Origin.y)) + xOffset
y' = Origin.y + (yScale * (y-Origin.y)) + (ySkew*(x-Origin.x)) + yOffset
See also:
| file: /Techref/os/win/api/win32/struc/src/str20_29.htm, 4KB, , updated: 2000/4/7 12:14, local time: 2012/5/24 21:34,
38.107.179.230:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/tecHREF/os/win/api/win32/struc/src/str20_29.htm"> SOTRANSFORM</A> |
| Did you find what you needed? |
|
|
.