public final class EmfPlusScaleWorldTransform extends EmfPlusTerminalServerRecordType
The EmfPlusScaleWorldTransform record performs a scaling on the current world space transform.
Constructor and Description |
---|
EmfPlusScaleWorldTransform(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusScaleWorldTransform class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getPostMultipliedMatrix()
Gets a value indicating whether [post multiplied matrix].
|
float |
getSx()
Gets or sets a 32-bit floating-point value that defines the horizontal scale factor.
|
float |
getSy()
Gets or sets a 32-bit floating-point value that defines the vertical scale factor.
|
void |
setSx(float value)
Gets or sets a 32-bit floating-point value that defines the horizontal scale factor.
|
void |
setSy(float value)
Gets or sets a 32-bit floating-point value that defines the vertical scale factor.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSize
public EmfPlusScaleWorldTransform(EmfPlusRecord source)
Initializes a new instance of the EmfPlusScaleWorldTransform
class.
source
- The source.public boolean getPostMultipliedMatrix()
Gets a value indicating whether [post multiplied matrix]. If set, the transform matrix should be post-multipled. If clear, it should be premultiplied.
Value:true
if [post multiplied matrix]; otherwise, false
.public float getSx()
Gets or sets a 32-bit floating-point value that defines the horizontal scale factor. The scaling is performed by constructing a new transform matrix from the Sx and Sy field values, as shown in the following table. ----------------- | Sx | 0 | 0 | | 0 | Sx | 0 | ----------------- Figure 3: Scale Transform Matrix
public void setSx(float value)
Gets or sets a 32-bit floating-point value that defines the horizontal scale factor. The scaling is performed by constructing a new transform matrix from the Sx and Sy field values, as shown in the following table. ----------------- | Sx | 0 | 0 | | 0 | Sx | 0 | ----------------- Figure 3: Scale Transform Matrix
public float getSy()
Gets or sets a 32-bit floating-point value that defines the vertical scale factor.
public void setSy(float value)
Gets or sets a 32-bit floating-point value that defines the vertical scale factor.