Resources | Resources |



Rotation support

The IDisplayDev1 interface implements support for different device bitmap orientations, including getting the current orientation and updating the display with a different orientation. The orientation of the device bitmap is specified as the number of a degrees of rotation relative to the default, which is zero degrees. Possible orientations are 0, 90, 180, and 270 degrees.

Applications can set the orientation of the device bitmap using IDisplay_SetPrefs(). The IBitmapRot interface allows applications to determine the current orientation of the device bitmap.