public final class EmfScaleWindowExtex extends EmfStateRecordType
The EMR_SCALEWINDOWEXTEX record respecifies the window for a playback device context by using the ratios formed by the specified multiplicands and divisors.
The extent cannot be changed if the device context is using a fixed scale mapping mode. Only MM_ISOTROPIC and MM_ANISOTROPIC are not fixed scale. The window extents are modified as follows. xNewWE = (xOldWE * xNum) / xDenom yNewWE = (yOldWE * yNum) / yDenom
Constructor and Description |
---|
EmfScaleWindowExtex()
Initializes a new instance of the
EmfScaleWindowExtex class. |
EmfScaleWindowExtex(EmfRecord source)
Initializes a new instance of the
EmfScaleWindowExtex class. |
Modifier and Type | Method and Description |
---|---|
int |
getXDenom()
Gets or sets a 32-bit signed integer that specifies the horizontal divisor.
|
int |
getXNum()
Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand.
|
int |
getYDenom()
Gets or sets a 32-bit signed integer that specifies the vertical divisor.
|
int |
getYNum()
Gets or sets a 32-bit signed integer that specifies the vertical multiplicand.
|
void |
setXDenom(int value)
Gets or sets a 32-bit signed integer that specifies the horizontal divisor.
|
void |
setXNum(int value)
Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand.
|
void |
setYDenom(int value)
Gets or sets a 32-bit signed integer that specifies the vertical divisor.
|
void |
setYNum(int value)
Gets or sets a 32-bit signed integer that specifies the vertical multiplicand.
|
public EmfScaleWindowExtex(EmfRecord source)
Initializes a new instance of the EmfScaleWindowExtex
class.
source
- The source.public EmfScaleWindowExtex()
Initializes a new instance of the EmfScaleWindowExtex
class.
public int getXNum()
Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand. MUST NOT be zero.
public void setXNum(int value)
Gets or sets a 32-bit signed integer that specifies the horizontal multiplicand. MUST NOT be zero.
public int getXDenom()
Gets or sets a 32-bit signed integer that specifies the horizontal divisor. MUST NOT be zero.
public void setXDenom(int value)
Gets or sets a 32-bit signed integer that specifies the horizontal divisor. MUST NOT be zero.
public int getYNum()
Gets or sets a 32-bit signed integer that specifies the vertical multiplicand. MUST NOT be zero.
public void setYNum(int value)
Gets or sets a 32-bit signed integer that specifies the vertical multiplicand. MUST NOT be zero.
public int getYDenom()
Gets or sets a 32-bit signed integer that specifies the vertical divisor. MUST NOT be zero.
public void setYDenom(int value)
Gets or sets a 32-bit signed integer that specifies the vertical divisor. MUST NOT be zero.