DDGPESurf::SetRotation (Compact 2013)
3/26/2014
This method sets the parameters for rotating a DDGPESurf object.
Syntax
void SetRotation(
int width,
int height,
int iRotate
);
Parameters
- width
The current width of the surface, independent of orientation.
- height
The current height of the surface, independent of orientation.
- iRotate
A value indicating the new rotation of the surface: DMDO_0, DMDO_90, DMDO_180, or DMDO_270.
Remarks
DDGPESurf::SetRotation calls GPESurf::SetRotation, but adds a special case for overlay surfaces.
The screen width and height of an overlay are not changed by the call to DDGPESurf::SetRotation. For other types of surfaces, screen width and height will conform to the specified rotation.
Requirements
Header |
ddgpe.h |
Library |
Ddgpe.lib |