Vcl.Graphics.TGraphic.EnableScaledDrawer
Delphi
procedure EnableScaledDrawer(AGraphicScalerClass: TScaledGraphicDrawerClass; AInitialize: Boolean = True); virtual;
C++
virtual void __fastcall EnableScaledDrawer(TScaledGraphicDrawerClass AGraphicScalerClass, bool AInitialize = true);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TGraphic |
Description
Enables scaled drawer for a graphic.
Use the EnableScaledDrawer to enable a scaled drawer for the graphic, allowing the image to be resized. A scaled drawer is a rendering technique that renders a graphic at different sizes from its original dimensions, thus improving image quality during scaling operations.
AGraphicScalerClass specifies the scaled drawer class to use, for example TWICScaledGraphicDrawer.