The TBackend class is the base class for all back-end classes. It defines the bare minimum functionality required to implement a new back-end class. It provides simplified management of surface (re-)allocation and deallocation by implementing ChangeSize in a convenient way. New back-ends shall implement the abstract protected methods InitializeSurface and FinalizeSurface.
It also implements the necessary Assign method for switching back-ends while preserving the surface's contents.
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 |
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024