Welcome to
www.tdxlibrary.org
Home of the
t
h
e
T
D
x
_
L
i
b
r
a
r
y
...
"
R
A
D
D
i
r
e
c
t
X
"
for
C++ Builder
...
TDx_Draw_Library v2.00 Component Reference
[
TDx_Draw
::CreateClipper() ] [ next:
CreatePalette()
] [ prev:
Create()
]
public:
virtual bool __fastcall CreateClipper(
TDx_DrawClipper
* pClipper );
TD
X_
D
RAW::
C
REATE
C
LIPPER() [ component method ]
Description
The TDx_Draw::CreateClipper method will create a
clipper
that can be
attached
to a
surface
and used in
TDx_DrawSurface::Blt()
and
TDx_DrawSurface::UpdateOverlay()
operations.
If you must use a clipper that is independent of a TDx_Draw component, use the DirectDrawCreateClipper function and pass in the 'Internal_LPDIRECTDRAWCLIPPER_Ptr' property of a
TDx_DrawClipper
component that has been placed on your form.
If the method call fails, the OnError event will be triggered with one of the following values:
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_NOCOOPERATIVELEVELSET
DDERR_OUTOFMEMORY
Parameters
Clipper
The
Clipper
parameter will reference the newly created clipper if the method returns successfully.
See Also
TDx_DrawSurface::Blt()
TDx_DrawSurface::UpdateOverlay()
TDx_DrawClipper
Top
If you would like to submit additions or improvements to this page, click:
darren_john_dwyer@hotmail.com
.
Top
Welcome
|
Latest News
|
Tools
|
Demos
|
Tutorials
|
Reference
|
Register
|
Downloads
FAQ
|
Links
|
Site Information
This page is
Copyright
© 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are
Trademarks
of
Borland Corporation
.
DirectX, DirectDraw, Windows, etc are
Trademarks
of
Microsoft Corporation
.