DelphiFAQ Home Search:
General :: Windows :: Programming :: Windows with Delphi :: Windows Graphics
Graphics programming under Windows with Delphi.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Dynamically drawing a transparent bitmap

1) use TBitmap do draw on the canvas, this makes it really easy

2) set it to transparent

3) define the transparent color (if you forget this, the color of the pixel in the bottom left corner will be used):

   myBitmap : TBitmap;
   // somehow create myBitmap
   myBitmap.Transparent := true;
   myBitmap.TransparentColor := clBlack;

Generated 8:02:07 on Aug 16, 2018