Declaration ​
pascal
TGDIBackend = class(TCustomBackend, IPaintSupport, IBitmapContextSupport, IDeviceContextSupport, ITextSupport, IFontSupport, ICanvasSupport, ITextToPathSupport, ITextToPathSupport2, IUpdateRectSupport)Description ​
TGDIBackend is the default backend implementation for Graphics32 on Windows VCL platforms.
TGDIBackend manages 32-bit Device Independent Bitmaps (DIB sections) created via Windows CreateDIBSection and pairs them with a GDI Memory Device Context (HDC) created via CreateCompatibleDC.
It implements all primary surface interfaces:
IPaintSupport: Repainting invalid areas ontoTCanvas.IBitmapContextSupport: AccessingTBitmapInfoheaders andHBITMAPhandles.IDeviceContextSupport: Interoperating with GDIHDChandles andBitBlt/StretchBlt.ITextSupport/IFontSupport: Native GDI font management and string rendering.ITextToPathSupport/ITextToPathSupport2: Converting TrueType/OpenType font glyphs into vector paths using WinAPI GDI glyph outlines.ICanvasSupport: VCLTCanvaswrapper integration.IUpdateRectSupport: Windows control update region querying and invalidation.