ID2D1Ink::AddSegments method (d2d1_3.h)

Adds the given segments to the end of this ink object.

Syntax

HRESULT AddSegments(
  [in] const D2D1_INK_BEZIER_SEGMENT *segments,
       UINT32                        segmentsCount
);

Parameters

[in] segments

Type: const D2D1_INK_BEZIER_SEGMENT*

A pointer to an array of segments to be added to this ink object.

segmentsCount

Type: UINT32

The number of segments to be added to this ink object.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header d2d1_3.h
Library D2d1_3.lib
DLL D2d1_3.dll

See also

ID2D1Ink