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
DeviceContextTypepixelFormat
DevicePixelFormatdpi
Vector2Floatusage
DeviceContextUsageminLevel
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
DeviceContextTypepixelFormat
DevicePixelFormatdpiX
floatdpiY
floatusage
DeviceContextUsageminLevel
DeviceFeatureLevel