[ TDx_Draw_Library ]
[ next: TDx_DrawClipper ]
[ prev: TDDVideoPortStatus ]
class TDx_Draw : public TComponent
class PACKAGE TDx_Draw : public TComponent
class type : Interface
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
DESCRIPTION
Top
Properties
Methods
Events
Callbacks
See Also
The TDx_Draw component wraps the DirectX IDirectDraw7 interface, which is the main DirectDraw interface.
It can be used to set and check the cooperative level between the operating system and the application, create several other components and set or retrieve values relating to the available capabilities.
It also creates or duplicates surface's of various kinds; it can create clippers to be used when blitting or overlaying; and it can create palette's to be associated with a surface.
It will also enumerate such things as the available display modes and existing or potential surfaces meeting a given description.
Other functions of TDx_Draw include the retrieval of properties such as the available video memory, hardware and software capabilities, display mode, monitor frequency, current scan line or vertical blank status, supported FourCC codes and information identifying the specific display hardware being used.
There are also methods for initializing manually created TDx_Draw components, retrieving the GDI surface or a device context, restoring the display mode or the memory for all surfaces, returning the primary surface to the GDI and waiting until the vertical blank occurs.
PROPERTIES
Top
Properties
Methods
Events
Callbacks
See Also
Created
EnumSurfacesFlags
ErrorValue
METHODS
Top
Properties
Methods
Events
Callbacks
See Also
Create
CreateClipper
CreatePalette
CreateSurface
DDEnumerate
Destroy
DuplicateSurface
EnumDisplayModes
EnumSurfaces
EvaluateMode
FlipToGDISurface
GetAvailableVidMem
GetCaps
GetDeviceIdentifier
GetDisplayMode
GetFourCCCodes
GetGDISurface
GetMonitorFrequency
GetScanLine
GetSurfaceFromDC
GetVerticalBlankStatus
RestoreAllSurfaces
RestoreDisplayMode
SetCooperativeLevel
SetDisplayMode
StartModeTest
TestCooperativeLevel
WaitForVerticalBlank
EVENTS
Top
Properties
Methods
Events
Callbacks
See Also
OnCreate
OnDestroy
OnError
CALLBACKS
Top
Properties
Methods
Events
Callbacks
See Also
OnDDEnumerate
OnEnumDisplayModes
OnEnumSurfaces
SEE ALSO
Top
Properties
Methods
Events
Callbacks
See Also
TDx_DrawClipper
TDx_DrawPalette
TDDSurfaceDesc
TDx_DrawSurface
TDDSCaps
TDDCaps
TDDDeviceIdentifier
TDx_DrawPalette::LoadFromFile()
TDx_DrawPalette::LoadFromResource()
TDx_DrawSurface::LoadFromFile()
TDx_Draw::Create()
TDx_Draw::Destroy()
TDx_Draw::OnError()