Declaration ​
pascal
TGDIMemoryBackend = class(TMemoryBackend, IPaintSupport, IDeviceContextSupport)Description ​
TGDIMemoryBackend combines pure heap memory allocation (TMemoryBackend) with VCL repainting support (IPaintSupport and IDeviceContextSupport).
Unlike TGDIBackend, TGDIMemoryBackend does not allocate GDI bitmap handles (HBITMAP) or memory device contexts (HDC). Instead, it uses SetDIBitsToDevice to blit raw heap pixel buffers directly onto destination TCanvas handles during paint operations.