EmfPlusRotateWorldTransform

EmfPlusRotateWorldTransform class

The EmfPlusRotateWorldTransform record performs a rotation on the current world space transform.

public sealed class EmfPlusRotateWorldTransform : EmfPlusTerminalServerRecordType

Constructors

Name Description
EmfPlusRotateWorldTransform(EmfPlusRecord) Initializes a new instance of the EmfPlusRotateWorldTransform class.

Properties

Name Description
Angle { get; set; } Gets or sets a 32-bit floating-point value that specifies the angle of rotation in degrees. The operation is performed by constructing a new transform matrix from the following diagram: ——————————— | sin(Angle) | cos(Angle) | 0 | | cos(Angle) | sin(Angle) | 0 | ——————————— Figure 2: Rotation Transform Matrix The current world space transform is multiplied by this matrix, and the result becomes the new current world space transform. The Flags field determines the order of multiplication.
virtual DataSize { get; set; } Gets or sets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of bytes of data in the RecordData field that follows. This number does not include the 12-byte record header.
virtual Flags { get; set; } Gets or sets a 16-bit unsigned integer that contains information for some records on how the operation is to be performed and on the structure of the record.
PostMultipliedMatrix { get; } Gets a value indicating whether [post multiplied matrix]. If set, the transform matrix should be post-multiplied. If clear, it should be premultiplied.
virtual Size { get; set; } Gets or sets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes in the entire record, including the 12-byte record header and record-specific data.
Type { get; } Gets a 16-bit unsigned integer that identifies the record type.

See Also