PdfMatrix Struct
A transformation matrix [a b c d e f] (ISO 32000-2, 8.3.4): a point (x, y) becomes (a\*x + c\*y + e, b\*x + d\*y + f).
public readonly struct PdfMatrix : IEquatable<PdfMatrix>- Implements
Constructors
| Name | Description |
|---|---|
| PdfMatrix(double, double, double, double, double, double) | Initializes a new instance of the PdfMatrix struct. |
PdfMatrix(double, double, double, double, double, double)
PdfMatrix.csInitializes a new instance of the PdfMatrix struct.
Properties
| Name | Description |
|---|---|
| A | Gets the a value. |
| B | Gets the b value. |
| C | Gets the c value. |
| D | Gets the d value. |
| E | Gets the e value (horizontal translation). |
| F | Gets the f value (vertical translation). |
| Identity | Gets the identity matrix. |
Identity
PdfMatrix.csMethods
| Name | Description |
|---|---|
| CreateRotation(double) | Creates a counterclockwise rotation. |
| CreateScale(double, double) | Creates a scaling. |
| CreateTranslation(double, double) | Creates a translation. |
| Equals(PdfMatrix) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Indicates whether this instance and a specified object are equal. |
| GetHashCode() | Returns the hash code for this instance. |
| Multiply(PdfMatrix, PdfMatrix) | Multiplies two matrices: the result applies left first, then right. |
| ToString() | Returns the fully qualified type name of this instance. |
| Transform(double, double) | Transforms a point. |
| TransformVector(double, double) | Transforms a vector: the translation is not applied. |
| TryInvert(PdfMatrix) | Inverts the matrix. |
CreateRotation(double)
PdfMatrix.csCreateScale(double, double)
PdfMatrix.csCreateTranslation(double, double)
PdfMatrix.csGetHashCode()
PdfMatrix.csMultiply(PdfMatrix, PdfMatrix)
PdfMatrix.csToString()
PdfMatrix.csTransform(double, double)
PdfMatrix.csTransformVector(double, double)
PdfMatrix.csTryInvert(PdfMatrix)
PdfMatrix.csOperators
| Name | Description |
|---|---|
| operator ==(PdfMatrix, PdfMatrix) | Indicates whether two matrices are equal. |
| operator !=(PdfMatrix, PdfMatrix) | Indicates whether two matrices are different. |
| operator *(PdfMatrix, PdfMatrix) | Multiplies two matrices: the result applies left first, then right. |