Skip to main content
Table of Contents

TTMSFNCGraphicsSVGImport.Draw Method

Draws the parsed SVG onto a VCL/FMX canvas within the specified rectangle.

API unit family: TMSFNCGraphicsSVGEngine Declaring type: TTMSFNCGraphicsSVGImport

Overloads

Overload 1

Draws the parsed SVG onto a VCL/FMX canvas within the specified rectangle.

FMX.TMSFNCGraphicsSVGEngine.hppPascalC++
procedure Draw(const ACanvas: TCanvas; ARect: TRectF; ANative: Boolean = False); overload; override;
virtual void __fastcall Draw(Fmx::Graphics::TCanvas* const ACanvas, const System::Types::TRectF &ARect, bool ANative = false)/* overload */;

Parameters

Name Description
ACanvas Target canvas.
ARect Destination rectangle in canvas coordinates.
ANative When True, uses platform-native rendering where available.

Overload 2

Draws the parsed SVG using a graphics context within the specified rectangle.

FMX.TMSFNCGraphicsSVGEngine.hppPascalC++
procedure Draw(const AGraphics: TTMSFNCGraphics; ARect: TRectF; ANative: Boolean = False; ARecreateGraphics: Boolean = True); reintroduce; overload;
HIDESBASE void __fastcall Draw(TTMSFNCGraphics* const AGraphics, const System::Types::TRectF &ARect, bool ANative = false, bool ARecreateGraphics = true)/* overload */;

Parameters

Name Description
AGraphics Target graphics context.
ARect Destination rectangle.
ANative When True, uses platform-native rendering where available.
ARecreateGraphics When True, recreates the internal graphics context before drawing.