Unit uBitmap

Classes

Functions

DrawDisabledText - ********************** Draw Disabled Text ************** ***** This function draws text in "disabled" style.
DrawLine - ******************** Draw Line ************************* ***** Draw a line from point X1, Y1 ***** ***** to point X2, Y2.
DrawTransparentBitmap - Drawing of a bitmap on a canvas, with transparency (adapted from code found in the Microsoft Knowledge Base

Drawing of a bitmap on a canvas, with transparency (adapted from code found in the Microsoft Knowledge Base)} {****************** Draw Transparent Bitmap *************** ***** This function draws a bitmap with ***** ***** a transparent color.

Types

Constants

Variables


Functions


function DrawDisabledText (Canvas : tCanvas; Str: PChar; Count: Integer; var Rect: TRect; Format: Word): Integer;

********************** Draw Disabled Text ************** ***** This function draws text in "disabled" style. ***** ***** i.e. the text is grayed . *****

procedure DrawLine(Canvas: TCanvas; X1, Y1, X2, Y2: integer);

******************** Draw Line ************************* ***** Draw a line from point X1, Y1 ***** ***** to point X2, Y2. *****

procedure DrawTransparentBitmap (canvas: TCanvas; bmp: TBitmap; aRect : tRect; cTransparentColor: LongInt; Stretched : Boolean);

Drawing of a bitmap on a canvas, with transparency (adapted from code found in the Microsoft Knowledge Base

Drawing of a bitmap on a canvas, with transparency (adapted from code found in the Microsoft Knowledge Base)} {****************** Draw Transparent Bitmap *************** ***** This function draws a bitmap with ***** ***** a transparent color. *****


Types


Constants


Variables