Table of Contents

Method CreateHwndDeviceContext

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreateHwndDeviceContext(in DeviceContextProperties, in HwndDeviceContextProperties)

Creates an IHwndDeviceContext, a device context that renders to a window.

IHwndDeviceContext CreateHwndDeviceContext(in DeviceContextProperties deviceContextProperties, in HwndDeviceContextProperties hwndDeviceContextProperties)

Parameters

deviceContextProperties DeviceContextProperties
hwndDeviceContextProperties HwndDeviceContextProperties

Returns

IHwndDeviceContext