Method CreateCompatibleDeviceContext
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
CreateCompatibleDeviceContext(IDeviceContext, SizeFloat, SizeInt32, DxgiFormat, AlphaMode, CompatibleDeviceContextOptions)
public static ICompatibleDeviceContext CreateCompatibleDeviceContext(this IDeviceContext deviceContext, SizeFloat desiredSize, SizeInt32 desiredPixelSize, DxgiFormat dxgiFormat, AlphaMode alphaMode, CompatibleDeviceContextOptions options = CompatibleDeviceContextOptions.None)
Parameters
deviceContext
IDeviceContextdesiredSize
SizeFloatdesiredPixelSize
SizeInt32dxgiFormat
DxgiFormatalphaMode
AlphaModeoptions
CompatibleDeviceContextOptions