Table of Contents

Class DpiCompensation

Namespace
SharpDX.Direct2D1.Effects
Assembly
SharpDX.Direct2D1.dll

Built in DpiCompensation effect.

public class DpiCompensation : Effect
Inheritance
DpiCompensation
Inherited Members

Constructors

DpiCompensation(DeviceContext)

Initializes a new instance of DpiCompensation effect.

public DpiCompensation(DeviceContext context)

Parameters

context DeviceContext

Properties

BorderMode

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

public BorderMode BorderMode { get; set; }

Property Value

BorderMode

InputDpi

The input dpi.

public float InputDpi { get; set; }

Property Value

float

InterpolationMode

The Dpi interpolation mode.

public DpiCompensationInterpolationMode InterpolationMode { get; set; }

Property Value

DpiCompensationInterpolationMode