IInkD2DRenderer2 interface (inkrenderer.h)

Enables the rendering of ink strokes onto the designated Direct2D device context of a Universal Windows app, instead of the default InkCanvas control.

Inheritance

The IInkD2DRenderer2 interface inherits from the IUnknown interface. IInkD2DRenderer also has these types of members:

Methods

The IInkD2DRenderer2 interface has these methods.

 
IInkD2DRenderer2::Draw

Renders the ink stroke to the designated Direct2D device context of the app.

Remarks

This interface provides an overload of the IInkD2DRenderer::Draw method to support contrast theme settings in Windows 11 and newer.

Requirements

Requirement Value
Minimum supported client Windows 11 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header inkrenderer.h

See also

IInkD2DRenderer interface Complex ink sample Simple ink sample Ink renderer interfaces Pen and stylus interactions