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_DrawClipper
::SetClipList() ] [ next:
SetHWnd()
] [ prev:
IsClipListChanged()
]
public:
virtual bool __fastcall SetClipList( RGNDATA* pClipList );
TD
X_
D
RAW
C
LIPPER::
S
ET
C
LIP
L
IST() [ component method ]
Description
The TDx_DrawClipper::SetClipList method will set or delete the clip lists used by
TDx_DrawSurface::Blt()
and
TDx_DrawSurface::UpdateOverlay
for
surfaces
to which the
clipper
is
attached
.
A clip list cannot be set when there is a window handle associated with the clipper.
If the method call fails, the OnError event will be triggered with one of the following values:
DDERR_CLIPPERISUSINGHWND
DDERR_INVALIDCLIPLIST
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_OUTOFMEMORY
Parameters
ClipList
The ClipList parameter references a
RGNDATA
structure holding the
clip list
that is to be set.
Setting this property to NULL when a clip list already exists will delete that clip list.
See Also
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
.