![]() |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DDGPESurfclass extends the GPESurfclass, and represents a surface that may have been allocated by GDI, the display driver, or the DDHAL.
This section describes each of the functions defined in the DDGPESurfclass, and discusses how your software should use these functions. A description of the DDGPESurf class definitionis also included.
DDGPESurf::AlignedWidth | Retrieves the width of the memory allocated for a surface. |
DDGPESurf::Bpp | Determines the number of bits per pixel in the current surface. |
DDGPESurf::ColorKey | Obtains the color key for the current surface. |
DDGPESurf::ColorKeyHigh | Retrieves the high color key value from a surface that uses a range of color keys. |
DDGPESurf::ColorKeyLow | Retrieves the low color key value from a surface that uses a range of color keys. |
DDGPESurf::ColorKeyMask | Retrieves the color key mask for the current surface. |
DDGPESurf Constructors | Various ways of constructing a DDGPESurfobject are included. |
DDGPESurf::DeleteSurface | Deletes a GPEsurface and releases the occupied memory. |
DDGPESurf::HasAlpha | Determines whether the specified surface has an alpha channel. |
DDGPESurf::Init | Initializes the pixel format for the current surface. |
DDGPESurf::GetDDGPESurf | Retrieves the DDGPESurfobject associated with a DirectDraw surface. |
DDGPESurf::GetDirectDrawSurface | Retrieves the DirectDraw surface associated with a DDGPESurfobject. |
DDGPESurf::GetDriverData | Retrieves a pointer to the driver data associated with the current DDGPESurfobject. |
DDGPESurf::GetDriverGUID | Retrieves the driver-specific GUID applied to the current object. |
DDGPESurf::PixelFormat | Retrieves the DDGPE-stile pixel format for the current surface. |
DDGPESurf::SetColorKey | Sets the color key for the current surface. |
DDGPESurf::SetColorKeyHigh | Sets the high value for a range of color keys specific to the specified surface. |
DDGPESurf::SetColorKeyLow | Sets the low value for a range of color keys specific to the specified surface. |
DDGPESurf::SetColorKeyMask | Sets the color key mask for the current surface. |
DDGPESurf::SetDirectDrawSurface | Associates a DirectDraw surface with the current DDGPESurfobject. |
DDGPESurf::SetDDGPESurf | Associates a DDGPESurfobject with a DirectDraw surface. |
DDGPESurf::SetDriverData | Stores driver-specific data in the DDGPESurfobject. |
DDGPESurf::SetDriverGUID | Stores the driver-specific GUID in the DDGPESurfobject. |
Last updated on Tuesday, July 13, 2004