Description | uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
This unit contains a improved bitmap, which may load data from different picture sources and gives the possibility of easy pixel access.
Name | Description |
---|---|
Class ENoValidCompressor |
This exception is raised when no proper compressor is found to load the bitmap data from a stream or a file |
Class ENoValidFormat |
This exception is raised when no format loader is found to load the bitmap data from the specified data source. |
Class TAdGraphicCompressor |
TAdGraphicCompressor is an abstract class, which allows to save bitmap data using different encoding and compressing technologies. |
Class TAdGraphicFormat |
The abstract TAdGraphicFormat class should be used to load various graphic classes into a TAdBitmap. |
Class TAdBitmap |
TAdBitmap is the main bitmap class |
procedure RegisterGraphicCompressor(AClass:TAdGraphicCompressorClass); |
procedure RegisterGraphicFormat(AClass:TAdGraphicFormatClass); |
TAdGraphicProgress = procedure(Sender:TObject; AMax, AValue:integer) of object; |
TAdGraphicCompressorClass = class of TAdGraphicCompressor; |
TAdGraphicFormatClass = class of TAdGraphicFormat; |
RegisteredGraphicCompressors:TStringList; |
RegisteredGraphicFormats:TStringList; |
procedure RegisterGraphicCompressor(AClass:TAdGraphicCompressorClass); |
Use this procedure in the initialization part of a unit to register a graphic compressor class. |
procedure RegisterGraphicFormat(AClass:TAdGraphicFormatClass); |
Use this procedure in the initialization part of a unit to register a graphic format class. |
TAdGraphicProgress = procedure(Sender:TObject; AMax, AValue:integer) of object; |
A method type declaration for showing the decoding/encoding progress of a bitmap |
TAdGraphicCompressorClass = class of TAdGraphicCompressor; |
A class declaration of TAdGraphicCompressor. |
TAdGraphicFormatClass = class of TAdGraphicFormat; |
A class declaration of TAdGrahpicFormat. |
RegisteredGraphicCompressors:TStringList; |
This stringlist contains the names and ids of all registered graphic compressors |