[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TSharedCustomBitmap - a reference counted base class for TSharedBitmap, TSharedPixmap, TSharedJPEGImage, TSharedPortableNetworkGraphic and TSharedPortableAnyMapGraphic
Source position: graphics.pp line 1335
type TSharedCustomBitmap = class(TSharedRasterImage) |
||
protected |
||
procedure FreeHandle; override; |
|
FreeHandle frees Palette then calls inherited FreeHandle |
procedure FreePalette; |
|
FreePalette - release the Palette |
procedure FreeImage; |
|
FreeImage - release the Image from the Bitmap |
function ReleasePalette; |
|
ReleasePalette - returns the Handle of the released Palette |
function GetPixelFormat; |
|
GetPixelFormat - returns the format for the Pixels in this Bitmap |
function IsEmpty; override; |
|
IsEmpty - checks if there is actually an image at the reference, and returns True if there is not |
public |
||
constructor Create; override; |
|
Create - constructor for TSharedCustomBitmap: calls inherited Create and initialises the image |
destructor Destroy; override; |
|
Destroy - destructor for TSharedCustomBitmap: frees stream, handle and image, then calls inherited Destroy |
function HandleAllocated; override; |
|
Has a handle been allocated for this image? |
function ImageAllocated; |
|
ImageAllocated - returns True if an image has been allocated |
property HandleType: TBitmapHandleType; [rw] |
|
HandleType the type of Bitmap Handle that has been allocated |
|
The Height of the Bitmap |
|
property PixelFormat: TPixelFormat; [r] |
|
PixelFormat - the format for the Pixels in this Bitmap |
|
The Width of the Bitmap |
|
end; |
|
TSharedCustomBitmap - a reference counted base class for TSharedBitmap, TSharedPixmap, TSharedJPEGImage, TSharedPortableNetworkGraphic and TSharedPortableAnyMapGraphic |
|
| | ||
|
TSharedRasterImage - a reference counted raster image (may be shared between several controls) |
|
| | ||
|
TSharedImage - base class for reference counted images |
|
| | ||
TObject |
lazarus-ccr.sourceforge.net |