Skip to main content
Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.WriteMatrix Method

Emits a PDF transformation matrix from a position and size, scaling the coordinate system to the given rectangle.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Overloads

Overload 1

Emits a PDF transformation matrix from a position and size, scaling the coordinate system to the given rectangle.

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
procedure WriteMatrix(APoint: TPointF; ASize: TSizeF); overload;
void __fastcall WriteMatrix(const System::Types::TPointF &APoint, const System::Types::TSizeF &ASize)/* overload */;

Parameters

Name Description
APoint Top-left origin of the transformed coordinate system.
ASize Width and height used to scale the coordinate axes.

Overload 2

Emits a PDF cm operator with the six components of a 2D transformation matrix.

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
procedure WriteMatrix(m11, m12, m21, m22, dx, dy: Double); overload;
void __fastcall WriteMatrix(double m11, double m12, double m21, double m22, double dx, double dy)/* overload */;

Parameters

Name Description
m11 X scale component of the transformation matrix.
m12 X shear component of the transformation matrix.
m21 Y shear component of the transformation matrix.
m22 Y scale component of the transformation matrix.
dx X translation component of the transformation matrix.
dy Y translation component of the transformation matrix.