Class TSafeBitmap (unit SafeBitmap)

Inherits from

TComponent

Constructors


constructor Create(AOwner: TComponent);



Functions

destructor Destroy;


function GetDC: HDC;


function LoadFromFile(fn: string): boolean;


function SaveToFile(fn: string): boolean;


procedure SetSize(x, y: integer);


function GetPixelFormat: TPixelFormat;


procedure Lock;


procedure SetPixelFormat(pf: TPixelFormat);


procedure Unlock;


Properties

property PixelFormat : TPixelFormat


Events

Variables

FSafeBmp : pointer;



Constructors


constructor Create(AOwner: TComponent);


Functions


destructor Destroy;


function GetDC: HDC;


function LoadFromFile(fn: string): boolean;


function SaveToFile(fn: string): boolean;


procedure SetSize(x, y: integer);


function GetPixelFormat: TPixelFormat;


procedure Lock;


procedure SetPixelFormat(pf: TPixelFormat);


procedure Unlock;


Properties


property PixelFormat : TPixelFormat


Events


Variables


FSafeBmp : pointer;