ScaleViewport Method (ImageDeviceContext)
In This Topic
Modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.
Syntax
Parameters
- numX
- A int specifies the amount by which to multiply the current horizontal extent.
- denomX
- A int specifies the amount by which to divide the current horizontal extent.
- numY
- A int specifies the amount by which to multiply the current vertical extent.
- denomY
- A int specifies the amount by which to divide the current vertical extent.
See Also