Skip to main content
Table of Contents

ITMSFNCCustomPDFGraphicsLib.DrawSetTransform Method

Applies a 2-D affine transformation matrix specified as six scalar components to all subsequent drawing operations.

API unit family: TMSFNCPDFGraphicsLib Declaring type: ITMSFNCCustomPDFGraphicsLib

Overloads

Overload 1

Applies a 2-D affine transformation matrix specified as six scalar components to all subsequent drawing operations.

FMX.TMSFNCPDFGraphicsLib.hppPascalC++
procedure DrawSetTransform(m11, m12, m21, m22, dx, dy: Double); overload;
virtual void __fastcall DrawSetTransform(double m11, double m12, double m21, double m22, double dx, double dy) = 0 /* overload */;

Parameters

Name Description
m11 Scale X component of the matrix.
m12 Shear Y component of the matrix.
m21 Shear X component of the matrix.
m22 Scale Y component of the matrix.
dx Horizontal translation in PDF coordinate units.
dy Vertical translation in PDF coordinate units.

Overload 2

Applies a 2-D affine transformation matrix supplied as a TTMSFNCGraphicsMatrix record to all subsequent drawing operations.

FMX.TMSFNCPDFGraphicsLib.hppPascalC++
procedure DrawSetTransform(m: TTMSFNCGraphicsMatrix); overload;
virtual void __fastcall DrawSetTransform(const TTMSFNCGraphicsMatrix &m) = 0 /* overload */;

Parameters

Name Description
m Matrix record containing scale, shear, and translation components.