Table of Contents

Constructor DeviceContextProperties

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

DeviceContextProperties(DeviceContextType, DevicePixelFormat, Vector2Float, DeviceContextUsage, DeviceFeatureLevel)

public DeviceContextProperties(DeviceContextType type, DevicePixelFormat pixelFormat, Vector2Float dpi, DeviceContextUsage usage = DeviceContextUsage.None, DeviceFeatureLevel minLevel = DeviceFeatureLevel.Default)

Parameters

type DeviceContextType
pixelFormat DevicePixelFormat
dpi Vector2Float
usage DeviceContextUsage
minLevel DeviceFeatureLevel

DeviceContextProperties(DeviceContextType, DevicePixelFormat, float, float, DeviceContextUsage, DeviceFeatureLevel)

public DeviceContextProperties(DeviceContextType type, DevicePixelFormat pixelFormat, float dpiX = 96, float dpiY = 96, DeviceContextUsage usage = DeviceContextUsage.None, DeviceFeatureLevel minLevel = DeviceFeatureLevel.Default)

Parameters

type DeviceContextType
pixelFormat DevicePixelFormat
dpiX float
dpiY float
usage DeviceContextUsage
minLevel DeviceFeatureLevel