Table of Contents

Class DpiCompensationEffect

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

Use the DPI compensation effect to automatically adjust an input bitmap to match the DPI of the context. This is useful for situations where a bitmap is created or loaded at a different DPI than the screen.

For more information, see DPI compensation effect

public sealed class DpiCompensationEffect : DeviceEffect<DpiCompensationEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
DpiCompensationEffect
Implements
Inherited Members
Extension Methods

Constructors

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