Table of Contents

Struct HwndDeviceContextProperties

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Contains the HWND, pixel size, and presentation options for an IHwndDeviceContext.
D2D1_HWND_RENDER_TARGET_PROPERTIES

public struct HwndDeviceContextProperties : IEquatable<HwndDeviceContextProperties>
Implements
Inherited Members

Constructors

HwndDeviceContextProperties(nint, SizeInt32, PresentOptions)

Properties

Hwnd

The HWND to which the device context issues the output from its drawing commands.

PixelSize

The size of the render target, in pixels.

PresentOptions

A value that specifies whether the render target retains the frame after it is presented and whether the render target waits for the device to refresh before presenting.

Methods

Equals(HwndDeviceContextProperties)
Equals(in HwndDeviceContextProperties)
Equals(object?)
GetHashCode()

Operators

operator ==(in HwndDeviceContextProperties, in HwndDeviceContextProperties)
operator !=(in HwndDeviceContextProperties, in HwndDeviceContextProperties)