[ TDx_Draw ]
[ next: CreatePalette() ]
[ prev: Create() ]
public:
virtual bool __fastcall CreateClipper( TDx_DrawClipper* pClipper );
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
DESCRIPTION
Top
Parameters
See Also
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
Top
See Also
Clipper
The Clipper parameter will reference the newly created clipper if the method returns successfully.
SEE ALSO
Top
Parameters