TMemoryBackend

Hierarchy

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

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

See Also

GR32_Backends, TBitmap32, TCustomBitmap32, TGDIBackend