Click or drag to resize

PdfMatrix Structure

Represents a 3x3 affine transformation matrix used for transformations in PDF 2-D space.
Inheritance Hierarchy
SystemObject
  SystemValueType
    SautinSoft.Pdf.ContentPdfMatrix

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntax
public struct PdfMatrix : IEquatable<PdfMatrix>

The PdfMatrix type exposes the following members.

Constructors
 NameDescription
Public methodPdfMatrixInitializes a new instance of the PdfMatrix class
Public methodPdfMatrix(Double, Double, Double, Double, Double, Double) Initializes a new instance of the PdfMatrix structure.
Top
Properties
 NameDescription
Public propertyStatic memberIdentity Gets an identity PdfMatrix.
Public propertyIsIdentity Gets a value that indicates whether this PdfMatrix structure is an identity matrix.
Public propertyM11

Gets the value of the first row and first column of this PdfMatrix structure.

The default value is 1.

Public propertyM12

Gets the value of the first row and second column of this PdfMatrix structure.

The default value is 0.

Public propertyM21

Gets the value of the second row and first column of this PdfMatrix structure.

The default value is 1.

Public propertyM22

Gets the value of the second row and second column of this PdfMatrix structure.

The default value is 1.

Public propertyOffsetX

Gets the value of the third row and first column of this PdfMatrix structure.

The default value is 0.

Public propertyOffsetY

Gets the value of the third row and second column of this PdfMatrix structure.

The default value is 0.

Top
Methods
 NameDescription
Public methodStatic memberCreateTranslation Creates a translation PdfMatrix with the specified offsets.
Public methodEquals(Object) Determines whether the specified Object is equal to this PdfMatrix instance.
(Overrides ValueTypeEquals(Object))
Public methodEquals(PdfMatrix) Determines whether the other PdfMatrix is equal to this PdfMatrix instance.
Public methodGetHashCode Returns a hash code for this PdfMatrix instance.
(Overrides ValueTypeGetHashCode)
Public methodInvert Inverts this PdfMatrix structure.
Public methodStatic memberMultiply Premultiplies the PdfMatrix representing the additional transformation with the PdfMatrix representing the existing transformation, thus producing the PdfMatrix representing the combined transformation.
Public methodRotate Prepends a rotation of the specified angle (counter clockwise) at the specified point to this PdfMatrix structure.
Public methodScale Prepends the specified scale about the specified point of this PdfMatrix.
Public methodSkew Prepends a skew of the specified angle (counter clockwise) in the x and y dimensions to this PdfMatrix.
Public methodToString Returns a String that represents this PdfMatrix instance.
(Overrides ValueTypeToString)
Public methodTransform(PdfPoint) Transforms the specified PdfPoint by this PdfMatrix.
Public methodTransform(PdfQuad) Transforms the specified PdfQuad by this PdfMatrix.
Public methodTranslate Prepends a translation of the specified offsets to this PdfMatrix structure.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(PdfMatrix, PdfMatrix) Determines whether first and second PdfMatrixs are equal.
Public operatorStatic memberInequality(PdfMatrix, PdfMatrix) Determines whether first and second PdfMatrixs are not equal.
Public operatorStatic memberMultiply(PdfMatrix, PdfMatrix) Premultiplies the PdfMatrix representing the additional transformation with the PdfMatrix representing the existing transformation, thus producing the PdfMatrix representing the combined transformation.
Top
See Also