Partager via


DDGPESurf Class (Compact 2013)

3/26/2014

The DDGPESurf class extends the GPESurf class. It represents a surface that may have been allocated by GDI, the display driver, or the DDHAL. For a description of the DDGPESurf class, see DDGPESurf Class Definition.

The following table shows the methods defined in the DDGPESurf class.

Method

Description

DDGPESurf Constructors

Provides information about the various DDGPESurf object constructors.

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::DeleteSurface

Deletes a GPE surface and releases the occupied memory.

DDGPESurf::GetDDGPESurf

Retrieves the DDGPESurf object associated with a DirectDraw surface.

DDGPESurf::GetDirectDrawSurface

Retrieves the DirectDraw surface associated with a DDGPESurf object.

DDGPESurf::GetDriverData

Retrieves a pointer to the driver data associated with the current DDGPESurf object.

DDGPESurf::GetDriverGUID

Retrieves the driver-specific GUID applied to the current object.

DDGPESurf::HasAlpha

Determines whether the specified surface has an alpha channel.

DDGPESurf::Init

Initializes the pixel format for the current surface.

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 DDGPESurf object.

DDGPESurf::SetDDGPESurf

Associates a DDGPESurf object with a DirectDraw surface.

DDGPESurf::SetDriverData

Stores driver-specific data in the DDGPESurf object.

DDGPESurf::SetDriverGUID

Stores the driver-specific GUID in the DDGPESurf object.

DDGPESurf::SetOverlay

Marks the current DDGPESurf object as a surface overlay.

DDGPESurf::SetRotation

Sets the parameters for rotating a DDGPESurf object.

DDGPESurf::SurfaceSize

Returns the size of the current DDGPESurf object.

See Also

Reference

DDGPE Base Classes
DDGPESurf Class Definition