TMemoryBackend

Ancestors

TPersistent
   |
TNotifiablePersistent
   |
TThreadPersistent
   |
TBackend

Description

This back-end allocates the memory required for the surface directly in RAM. On Windows / VCL it does not acquire any GDI handles or resources.

It does not support any of the interfaces required for TBitmap32, making it lightweight but also feature limited. Temporarily switching to a more sophisticated back-end like TGDIBackend can alleviate this problem.

TMemoryBackend is the default back-end of TCustomBitmap32.

 

Reference

Methods Properties Events
In TBackend:
Assign Bits OnChanging
ChangeSize
Changing
Clear
Create
Destroy
Empty
FinalizeSurface
InitializeSurface
In TThreadPersistent:
Lock LockCount
Unlock
In TNotifiablePersistent:
BeginUpdate UpdateCount OnChange
Changed
EndUpdate

See Also

TBitmap32, TCustomBitmap32, GR32_Backends, TGDIBackend