namespace WindowsDisplayAPI.Native.DisplayConfig { /// /// Scaling modes /// https://msdn.microsoft.com/en-us/library/windows/hardware/ff553974(v=vs.85).aspx /// public enum DisplayConfigScaling : uint { /// /// Scaling mode is not specified /// NotSpecified = 0, /// /// 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. /// Identity = 1, /// /// Indicates the centering transformation; the source content is presented unscaled, centered with respect to the /// spatial resolution of the target mode. /// Centered = 2, /// /// Indicates the content is scaled to fit the path's target. /// Stretched = 3, /// /// Indicates the aspect-ratio centering transformation. /// AspectRatioCenteredMax = 4, /// /// Indicates that the caller requests a custom scaling that the caller cannot describe with any of the other values. /// Only a hardware vendor's value-add application should use this value, because the value-add application might /// require a private interface to the driver. The application can then use this value to indicate additional context /// for the driver for the custom value on the specified path. /// Custom = 5, /// /// Indicates that the caller does not have any preference for the scaling. /// Preferred = 128 } }