DisplayConfigScaling Enumeration
Specifies the scaling transformation applied to
content displayed on a video present network (VidPN) present path.
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum DisplayConfigScaling
Public Enumeration DisplayConfigScaling
Dim instance As DisplayConfigScaling
public enum class DisplayConfigScaling
type DisplayConfigScaling
No code example is currently available or this language may not be supported.
Identity |
1 |
Indicates the identity transformation;
the source content is presented with no change.
This transformation is available only if the path's source mode has the
same spatial resolution as the path's target mode.
|
Centered |
2 |
Indicates the centering transformation;
the source content is presented unscaled, centered with respect to the
spatial resolution of the target mode.
|
Stretched |
3 |
Indicates the content is scaled to fit the path's target.
|
AspectRatioCenteredMax |
4 |
Indicates the aspect-ratio centering transformation.
|
Custom |
5 |
Indicates that the caller requests a custom scaling that the caller cannot
describe with any of the other DisplayConfigScaling values.
Only a hardware vendor's value-add application should use Custom,
because the value-add application might require a private interface to the driver.
The application can then use Custom to
indicate additional context for the driver for the custom value on the specified path.
|
Preferred |
128 |
Indicates that the caller does not have any preference for the scaling.
The SetDisplayConfig(UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, SetDisplayConfigFlags) function will use the
scaling value that was last saved in the database for the path.
If such a scaling value does not exist,
SetDisplayConfig(UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, SetDisplayConfigFlags) will use the default scaling for the computer.
For example, stretched (Stretched) for tablet computers
and aspect-ratio centered (AspectRatioCenteredMax) for non-tablet computers.
|