Unit GifUnit

Classes

TGifBitmap - TGifFile
TGifFile - TGifSubImage
TGifSubImage -

Functions

DrawTransparent - TGifBitmap
GrabScreen - Draws SrcBitmap on the DestCanvas, with AColor as transparent color.

Types

Constants

DrawingTransparent

Variables


Functions


procedure DrawTransparent(DestCanvas: TCanvas; X, Y: smallint; SrcBitmap: TBitmap; AColor: TColor);

TGifBitmap

procedure GrabScreen(const SourceRect: TRect; Bitmap: TBitmap);

Draws SrcBitmap on the DestCanvas, with AColor as transparent color. Subroutine was posted by Leif L. in Borland's Delphi.Graphics newsgroup and is thankfully used

DrawTransparent


Types


Constants

DrawingTransparent = False

Captures what's on the screen in the SourceRect rectangle into the Bitmap bitmap. Posted in Borland's Delphi.Graphics newsgroup by Nick Hodges; he refers to Mike Scott as the creator

Variables