Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32🞂TCustomBackendClass

TCustomBackend

Abstract base class for bitmap surface backends in Graphics32, managing raw pixel memory allocations and platform-specific surface handles.

Inheritance:TObject 🞂 TPersistent 🞂 TPlainInterfacedPersistent 🞂 TNotifiablePersistent 🞂 TThreadPersistent 🞂 TCustomBackend

Declaration ​

pascal
type
  TCustomBackend = class(TThreadPersistent)
    ...
  TCustomBackendClass = class of TCustomBackend;

Description ​

TCustomBackend is the abstract base class for all backend memory and surface managers in Graphics32.

It abstracts the allocation, lifetime, and OS handles for 32-bit pixel buffers from TCustomBitmap32. Concrete backend subclasses (such as TMemoryBackend, TGDIBackend, or TLCLBackend) inherit from TCustomBackend and implement platform-specific surface allocation routines by overriding InitializeSurface and FinalizeSurface.