|
|
@ -50,6 +50,7 @@ namespace SixLabors.ImageSharp.Processing.Processors |
|
|
/// <inheritdoc/>
|
|
|
/// <inheritdoc/>
|
|
|
protected override Matrix3x2 GetTransformMatrix() |
|
|
protected override Matrix3x2 GetTransformMatrix() |
|
|
{ |
|
|
{ |
|
|
|
|
|
// Tansforms are inverted else the output is the opposite of the expected.
|
|
|
Matrix3x2 matrix = Matrix3x2Extensions.CreateSkewDegrees(this.DegreesX, this.DegreesY, PointF.Empty); |
|
|
Matrix3x2 matrix = Matrix3x2Extensions.CreateSkewDegrees(this.DegreesX, this.DegreesY, PointF.Empty); |
|
|
Matrix3x2.Invert(matrix, out matrix); |
|
|
Matrix3x2.Invert(matrix, out matrix); |
|
|
return matrix; |
|
|
return matrix; |
|
|
|