ID2D1DeviceContext2::CreateInk(constD2D1_INK_POINT&,ID2D1Ink) method (d2d1_3.h)

Creates a new ID2D1Ink object that starts at the given point.

Syntax

HRESULT CreateInk(
  [ref] const D2D1_INK_POINT & startPoint,
  [out] ID2D1Ink               **ink
);

Parameters

[ref] startPoint

Type: const D2D1_INK_POINT

The starting point of the first segment of the first stroke in the new ink object.

[out] ink

Type: ID2D1Ink**

When this method returns, contains the address of a pointer to a new ink object.

Return value

Type: HRESULT

S_OK if successful, otherwise a failure HRESULT.

Requirements

   
Minimum supported client Windows 10 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_3.h
DLL D2d1.dll

See also

ID2D1DeviceContext2