TSharedImage class
Specifies the base class for reference-counted shared images.
Declaration
TSharedImage = classDescends from it: TSharedRasterImage
Description
TSharedImage is a class which specifies the base class for
reference-counted shared images. TSharedImage defines properties and methods
which are used to track and maintain the reference count for a shared image.
Use the RefCount property to determine the number of references
acquired for a shared image.
Use Reference to increment the value in RefCount. Use
Release to decrement the value in RefCount.
TSharedImage includes abstract virtual methods, like
HandleAllocated and FreeHandle, which must be
implemented in a descendent class to perform actions needed for the handle in
a specific image type.
TSharedImage is the ancestor for the TSharedRasterImage class.
See also
Properties
RefCount | protected | The number of references to this shared image. |
Methods
Reference | protected | Increases the reference count. |
Release | protected | Decreases the reference count. |
FreeHandle | protected | Release the handle for this image and free its resources. |
HandleAllocated | public | Indicates whether a handle been allocated for the image. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
