Vcl.Graphics.TBitmapImage

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Graphics.TSharedImageSystem.TObjectTBitmapImage

Delphi

TBitmapImage = class(TSharedImage)

C++

class PASCALIMPLEMENTATION TBitmapImage : public TSharedImage

Properties

Type Visibility Source Unit Parent
class public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TBitmapImage is the internal representation of the bitmap image for a TBitmap object.

TBitmapImage is used only for internal implementation of the TBitmap component that is defined in the Graphics unit. It represents the internal image of the bitmap. All of the data and methods introduced in TBitmapImage are private. They contain information about the specific Windows bitmap resource, including pointers to the standard HBITMAP structures defined by Windows. TBitmapImage is referenced in the constructor of the TBitmap object when the bitmap image is created.

Note: TBitmapImage is how TBitmap does reference counting and handle sharing. Multiple instances can refer to the same TBitmap image. TBitmapImage is the actual owner of the bitmap handle.

See Also