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
file: /Techref/os/win/api/win32/struc/src/str20_29.htm, 4KB, , updated: 2000/4/7 11:14, local time: 2024/11/28 00:39,
3.135.200.121:LOG IN
|
©2024 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://massmind.org/Techref/os/win/api/win32/struc/src/str20_29.htm"> SOTRANSFORM</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.