[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Effects.AffineTransform2D

AffineTransform2D Class

Builtin AffineTransform2D effect.

Inheritance
AffineTransform2D
Implements
Namespace: C1.Util.DX.Direct2D.Effects
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public class AffineTransform2D : Effect, IDisposable, IUnknown

Constructors

Name Description
AffineTransform2D(IntPtr)

Initializes a new instance of the AffineTransform2D class.

Properties

Name Description
BorderMode

The mode used to calculate the border of the image, soft or hard. See BorderMode modes for more info.

InterpolationMode

The interpolation mode used to scale the image. There are 6 scale modes that range in quality and speed. If you don't select a mode, the effect uses the interpolation mode of the device context. See InterpolationMode for more info.

Sharpness

In the high quality cubic interpolation mode, the sharpness level of the scaling filter as a float between 0 and 1. The values are unitless. You can use sharpness to adjust the quality of an image when you scale the image. The sharpness factor affects the shape of the kernel. The higher the sharpness factor, the smaller the kernel.

TransformMatrix

The 3x2 matrix to transform the image using the Direct2D matrix transform.

Methods

Name Description
Create(DeviceContext)

Initializes a new instance of AffineTransform2D effect.