Table of Contents

Constructor DpiCompensationEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

DpiCompensationEffect(IDeviceEffectFactory)

public DpiCompensationEffect(IDeviceEffectFactory factory)

Parameters

factory IDeviceEffectFactory

DpiCompensationEffect(IDeviceEffectFactory, IDeviceImage, Vector2Float, DpiCompensationInterpolationMode, BorderMode)

public DpiCompensationEffect(IDeviceEffectFactory factory, IDeviceImage input, Vector2Float inputDpi, DpiCompensationInterpolationMode interpolationMode = DpiCompensationInterpolationMode.Linear, BorderMode borderMode = BorderMode.Soft)

Parameters

factory IDeviceEffectFactory
input IDeviceImage
inputDpi Vector2Float
interpolationMode DpiCompensationInterpolationMode
borderMode BorderMode

DpiCompensationEffect(IDeviceEffectFactory, IDeviceImage, float, DpiCompensationInterpolationMode, BorderMode)

public DpiCompensationEffect(IDeviceEffectFactory factory, IDeviceImage input, float inputDpi = 96, DpiCompensationInterpolationMode interpolationMode = DpiCompensationInterpolationMode.Linear, BorderMode borderMode = BorderMode.Soft)

Parameters

factory IDeviceEffectFactory
input IDeviceImage
inputDpi float
interpolationMode DpiCompensationInterpolationMode
borderMode BorderMode