Product Home Class IndexDownload

CK_DirectDraw

The CK_DirectDraw class provides a collection of static functions that can be used to retrieve the DirectDraw objects and surfaces used by the Chilkat engine. These functions can only be called after the CK_ddEngine object has been created. It allows applications to use DirectDraw functions directly on surfaces created by the Chilkat engine. In a nutshell, the application is allowed full access to the DirectDraw API and existing objects created by the Chilkat engine.


Static Methods

getBackSurface
Gets the back buffer of the primary surface. The back buffer only exists in certain surface scenarios.
getObject
Gets the application's DirectDraw object.
getPrimarySurface
Gets the primary surface (currently showing on the display).
getRenderClipper
Gets the DirectDraw clipper object used on the render surface.
getRenderSurface
Gets the DirectDraw render surface.
getWindowsClipper
Gets the DirectDraw clipper object used for windowed mode.

Gets the back-buffer of the primary surface. A back-buffer only exists in certain surface scenarios. In windowed mode, the primary surface is always a simple surface and the back buffer will never exist.

Gets the application's DirectDraw object.

Returns the application's primary surface.

Returns the DirectDraw clipper object used by the Chilkat engine to clip user-interface components when rendering.

Returns the render surface of the application. Depending on the surface scenario, this could be a system-memory surface, or the back-buffer of the primary surface.

Returns the DirectDraw clipper object used for running in windowed mode.