[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TBitmap is the data of an image, and can be loaded from a file, stream or resource in .bmp or .xpm format
Source position: graphics.pp line 1426
type TBitmap = class(TFPImageBitmap) |
||
protected |
||
procedure InitializeReader(); override; |
|
InitializeReader - starts up the specified reader to read th especified Image |
function GetReaderClass; override; |
|
GetReaderClass - returns the class of reader for acquiring data from a stream |
function GetWriterClass; override; |
|
GetWriterClass - returns the class of writer for storing data to a stream |
function GetSharedImageClass; override; |
|
GetSharedImageClass - returns the class of Shared Raster Image |
public |
||
function GetFileExtensions; override; |
|
GetFileExtensions - returns a list of the file extensions available |
procedure LoadFromStream(); override; |
|
LoadFromStream - loads data for the image from a specified data stream, optionally supplying its size |
end; |
|
TBitmap is the data of an image, and can be loaded from a file, stream or resource in .bmp or .xpm format |
|
| | ||
|
A class of Bitmap using the FPImage reader and writer (ie customised for FreePascal) |
|
| | ||
|
TCustomBitMap - the base class for TBitmap |
|
| | ||
|
TRasterImage - base class for a number of graphic controls, including TCustomBitmap and TCustomIcon, which use a raster of dots to display graphic information |
|
| | ||
|
TGraphic - Base class for dealing with Graphic images |
|
| | ||
TPersistent |
||
? | ||
TObject |
TBitmap is the data of an image. The image can be loaded from a file, stream or resource in .bmp (windows bitmap format) or .xpm (XPixMap format)
The loading routine automatically recognizes the format, so it is also used to load the images from Delphi form streams (e.g. .dfm files) or FreePascal/Lazarus form streams (.lfm)
When the handle is created, it is up to the interface (gtk, win32, ...) to convert it automatically to the best internal format. That is why the Handle is interface dependent.
To access the raw data, see TLazIntfImage
|
TLazIntfImage - This descendant of TFPCustomImage stores its image data as raw images and is therefore able to interchange images directly with the LCL interfaces. |