Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The transform record types specify and modify world-space to page-space transforms.
The following are EMF transform record types.
Name |
Section |
Description |
---|---|---|
EMR_MODIFYWORLDTRANSFORM |
Modifies the current world-space to page-space transform. |
|
EMR_SETWORLDTRANSFORM |
Specifies a two-dimensional linear transform between world space and page space. |
The generic structure of EMF transform records is specified as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
|||||||||||||||||||||||||||||||
Size |
|||||||||||||||||||||||||||||||
Xform (24 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
TransformData (optional) |
Type (4 bytes): An unsigned integer that defines the type of record. The transform record types are listed in the following table. See the preceding table for descriptions of these record types.
-
Name
Value
EMR_SETWORLDTRANSFORM
0x00000023
EMR_MODIFYWORLDTRANSFORM
0x00000024
Size (4 bytes): An unsigned integer that specifies the size in bytes of this record in the metafile. This value MUST be a multiple of 4 bytes.
Xform (24 bytes): An XForm object (section 2.2.28), which defines a world-space to page-space transform.
TransformData (4 bytes, optional): An unsigned integer that specifies an additional parameter for the record.
See section 2.3 for more EMF record types.