[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TSharedRasterImage

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a reference counted raster image that may be shared between controls.

Declaration

Source position: graphics.pp line 1223

type TSharedRasterImage = class(TSharedImage)

protected

  procedure FreeHandle; override;

  

Frees the handle for the shared image.

  function ReleaseHandle; virtual;

  

ReleaseHandle - returns the identity of the handle that has just been released.

  function IsEmpty; virtual;

  

Indicates if image content has been assigned for the shared image.

public

  constructor Create; virtual;

  

Constructor for the class instance.

  procedure CreateDefaultHandle(); virtual; abstract;

  

Not implemented in the current LCL version.

  destructor Destroy; override;

  

Destructor for the class instance.

  function HandleAllocated; override;

  

Determines whether the Handle for the class has been allocated.

  property BitmapCanvas: TCanvas; [rw]

  

Canvas used to render the bitmap for the raster image.

  property SaveStream: TMemoryStream; [rw]

  

SaveStream - the memory stream to be used for saving this image.

end;

Inheritance

TSharedRasterImage

  

Implements a reference counted raster image that may be shared between controls.

|

TSharedImage

  

Specifies the base class for reference-counted shared images.

|

TObject


Version 3.2 Generated 2024-02-25 Home