Represents a 3-by-3 matrix that represents an affine 2D transformation.
Namespace: PdfEdit.Drawing
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The XMatrix type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XMatrix |
Initializes a new instance of the XMatrix struct.
|
Methods
| Name | Description | |
|---|---|---|
| Append |
Appends the specified matrix to this matrix.
| |
| Equals(Object) |
Determines whether this matrix is equal to the specified object.
(Overrides ValueTypeEquals(Object).) | |
| Equals(XMatrix) |
Determines whether this matrix is equal to the specified matrix.
| |
| Equals(XMatrix, XMatrix) |
Determines whether the two matrices are equal.
| |
| GetElements |
Gets an array of double values that represents the elements of this matrix.
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Invert |
Inverts the matrix.
| |
| Multiply(XMatrix) | Obsolete.
Appends the specified matrix to this matrix.
| |
| Multiply(XMatrix, XMatrix) |
Multiplies two matrices.
| |
| Multiply(XMatrix, XMatrixOrder) |
Multiplies this matrix with the specified matrix.
| |
| MultiplyPrepend | Obsolete.
Prepends the specified matrix to this matrix.
| |
| Parse |
Parses a matrix from a string.
| |
| Prepend |
Prepends the specified matrix to this matrix.
| |
| Rotate(Double) | Obsolete.
Function is obsolete.
| |
| Rotate(Double, XMatrixOrder) |
Rotates the matrix with the specified angle.
| |
| RotateAppend |
Appends a rotation of the specified angle to this matrix.
| |
| RotateAt(Double, XPoint) | Obsolete.
Rotates the matrix with the specified angle at the specified point.
| |
| RotateAt(Double, XPoint, XMatrixOrder) |
Rotates the matrix with the specified angle at the specified point.
| |
| RotateAt(Double, Double, Double) | Obsolete.
Function is obsolete.
| |
| RotateAtAppend(Double, XPoint) |
Appends a rotation of the specified angle at the specified point to this matrix.
| |
| RotateAtAppend(Double, Double, Double) |
Appends a rotation of the specified angle at the specified point to this matrix.
| |
| RotateAtPrepend(Double, XPoint) |
Prepends a rotation of the specified angle at the specified point to this matrix.
| |
| RotateAtPrepend(Double, Double, Double) |
Prepends a rotation of the specified angle at the specified point to this matrix.
| |
| RotatePrepend |
Prepends a rotation of the specified angle to this matrix.
| |
| Scale(Double) | Obsolete.
Scales the matrix with the specified scalar.
| |
| Scale(Double, XMatrixOrder) |
Scales the matrix with the specified scalar.
| |
| Scale(Double, Double) | Obsolete.
Appends the specified scale vector to this matrix.
| |
| Scale(Double, Double, XMatrixOrder) |
Scales the matrix with the specified scalars.
| |
| ScaleAppend(Double) |
Appends the specified scale vector to this matrix.
| |
| ScaleAppend(Double, Double) |
Appends the specified scale vector to this matrix.
| |
| ScaleAt | Obsolete.
Function is obsolete.
| |
| ScaleAtAppend |
Apppends the specified scale about the specified point of this matrix.
| |
| ScaleAtPrepend |
Prepends the specified scale about the specified point of this matrix.
| |
| ScalePrepend(Double) |
Prepends the specified scale vector to this matrix.
| |
| ScalePrepend(Double, Double) |
Prepends the specified scale vector to this matrix.
| |
| SetIdentity |
Sets this matrix into an identity matrix.
| |
| Shear(Double, Double) | Obsolete.
Function is obsolete.
| |
| Shear(Double, Double, XMatrixOrder) |
Shears the matrix with the specified scalars.
| |
| ShearAppend |
Appends a skew of the specified degrees in the x and y dimensions to this matrix.
| |
| ShearPrepend |
Prepends a skew of the specified degrees in the x and y dimensions to this matrix.
| |
| Skew | Obsolete.
Function is obsolete.
| |
| SkewAppend |
Appends a skew of the specified degrees in the x and y dimensions to this matrix.
| |
| SkewPrepend |
Prepends a skew of the specified degrees in the x and y dimensions to this matrix.
| |
| ToGdiMatrix |
Converts this matrix to a System.Drawing.Drawing2D.Matrix object.
| |
| ToString |
Converts this XMatrix to a human readable string.
(Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) |
Converts this XMatrix to a human readable string.
| |
| Transform(XPoint) |
Transforms the specified point by this matrix and returns the result.
| |
| Transform(XPoint) |
Transforms the specified points by this matrix.
| |
| Transform(XVector) |
Transforms the specified vector by this Matrix and returns the result.
| |
| Transform(XVector) |
Transforms the specified vectors by this matrix.
| |
| TransformPoints(Point) |
Multiplies all points of the specified array with the this matrix.
| |
| TransformPoints(XPoint) |
Multiplies all points of the specified array with the this matrix.
| |
| TransformVectors |
Multiplies all vectors of the specified array with the this matrix. The translation elements
of this matrix (third row) are ignored.
| |
| Translate(Double, Double) | Obsolete.
Appends a translation of the specified offsets to this matrix.
| |
| Translate(Double, Double, XMatrixOrder) |
Translates the matrix with the specified offsets.
| |
| TranslateAppend |
Appends a translation of the specified offsets to this matrix.
| |
| TranslatePrepend |
Prepends a translation of the specified offsets to this matrix.
|
Operators
| Name | Description | |
|---|---|---|
| Equality |
Determines whether the two matrices are equal.
| |
| (XMatrix to Matrix) |
Explicitly converts a XMatrix to a Matrix.
| |
| (Matrix to XMatrix) |
Implicitly converts a Matrix to an XMatrix.
| |
| Inequality |
Determines whether the two matrices are not equal.
| |
| Multiply |
Multiplies two matrices.
|
Properties
| Name | Description | |
|---|---|---|
| Determinant |
Gets the determinant of this matrix.
| |
| HasInverse |
Gets a value that indicates whether this matrix is invertible.
| |
| Identity |
Gets the identity matrix.
| |
| IsIdentity |
Gets a value indicating whether this matrix instance is the identity matrix.
| |
| M11 |
Gets or sets the value of the first row and first column of this matrix.
| |
| M12 |
Gets or sets the value of the first row and second column of this matrix.
| |
| M21 |
Gets or sets the value of the second row and first column of this matrix.
| |
| M22 |
Gets or sets the value of the second row and second column of this matrix.
| |
| OffsetX |
Gets or sets the value of the third row and first column of this matrix.
| |
| OffsetY |
Gets or sets the value of the third row and second column of this matrix.
|
See Also