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.

procedure WriteMatrix(APoint: TPointF; ASize: TSizeF); 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.

procedure WriteMatrix(m11, m12, m21, m22, dx, dy: Double); 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.