/// <summary> /// Initializes a new instance of the <see cref="RotateProcessor"/> class. /// </summary> /// <param name="degrees">The angle of rotation in degrees.</param> /// <param name="sampler">The sampler to perform the rotating operation.</param> /// <param name="sourceSize">The source image size</param> public RotateProcessor(float degrees, IResampler sampler, Size sourceSize) : this( TransformUtils.CreateRotationMatrixDegrees(degrees, sourceSize), sampler, sourceSize) => this.Degrees = degrees;
// Helper constructor: private SkewProcessor(Matrix3x2 skewMatrix, IResampler sampler, Size sourceSize) : base(skewMatrix, sampler, TransformUtils.GetTransformedSize(sourceSize, skewMatrix)) { }