The XFORM structure specifies a world-space to page-space transformation.
typedef struct _XFORM { // xfrm
FLOAT eM11;
FLOAT eM12;
FLOAT eM21;
FLOAT eM22;
FLOAT eDx;
FLOAT eDy;
} XFORM;
|
Operation |
Meaning |
|
Scaling |
Horizontal scaling component |
|
Rotation |
Cosine of rotation angle |
|
Reflection |
Horizontal component |
|
Operation |
Meaning |
|
Shear |
Horizontal proportionality constant |
|
Rotation |
Sine of the rotation angle |
|
Operation |
Meaning |
|
Shear |
Vertical proportionality constant |
|
Rotation |
Negative sine of the rotation angle |
|
Operation |
Meaning |
|
Scaling |
Vertical scaling component |
|
Rotation |
Cosine of rotation angle |
|
Reflection |
Vertical reflection component |
The following list describes how the members are used for each operation:
|
Operation |
eM11 |
eM12 |
eM21 |
eM22 |
|
Rotation |
Cosine |
Sine |
Negative sine |
Cosine |
|
Scaling |
Horizontal scaling component |
Nothing |
Nothing |
Vertical Scaling Component |
|
Shear |
Nothing |
Horizontal Proportionality Constant |
Vertical Proportionality Constant |
Nothing |
|
Reflection |
Horizontal Reflection Component |
Nothing |
Nothing |
Vertical Reflection Component |
ExtCreateRegion, GetWorldTransform, ModifyWorldTransform, PlayEnhMetaFile, SetWorldTransform
See also:
| file: /Techref/os/win/api/win32/struc/src/str24_38.htm, 6KB, , updated: 2000/4/7 12:20, local time: 2012/5/25 12:54,
38.107.179.234: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/str24_38.htm"> XFORM</A> |
| Did you find what you needed? |
|
Support the PICList by honoring its finest. |
|
The only consistant, simple to use yet powerful development environment. It simulates real-world devices via virtual component "plugins" (LED,LCD,key,motor,TV,etc) in real time, has a syntax highlighting editor, macro assembler and disassembler. Regular updates and third-party plugins keep this software ahead of any other PIC IDE. |
.