Re: fast drawing in delphi
- From: "Paul Dunn" <paul.dunn4@xxxxxxxxxxxx>
- Date: Tue, 20 Dec 2005 14:26:58 GMT
Maldona8 wrote:
> Any web site you recommend for learning to use how to draw, print,
> save and load images with DirectX??
> Thanks!
DirectX isn't an "image package" solution. The DirectDraw component (or
Direct3D as it is now) basically gives you a mechanism whereby you can
declare "surfaces" which are regions of memory that you can write to. You
can usually gain a handle to that memory, and use the Win32 API graphics
functions to do the drawing. DirectDraw will handle the actual "copying" of
the surface to screen memory, and any effects such as overlays and alpha
channels that you have set up.
I use a TFastDIB as a surface, and instruct DirectDraw to send *that* to
video memory instead of a directdraw surface - but then as I write most of
my display routines in assembly, it's simpler for me to do it that way.
I'll send the FastLIB to you via email - let me know if you need help
installing it, as it's not D5 compatible (I use D5, but it requires some
messing to get working properly).
D.
.
- Follow-Ups:
- Re: fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Maarten Wiltink
- Re: fast drawing in delphi
- References:
- fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Hans-Peter Diettrich
- Re: fast drawing in delphi
- From: Maldona8
- fast drawing in delphi
- Prev by Date: Re: fast drawing in delphi
- Next by Date: Re: fast drawing in delphi
- Previous by thread: Re: fast drawing in delphi
- Next by thread: Re: fast drawing in delphi
- Index(es):
Relevant Pages
|