ID2D1Ink::AddSegments method

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

Syntax


HRESULT AddSegments(
  [inconst D2D1_INK_BEZIER_SEGMENT *segments,
             UINT32                  segmentsCount
);

Parameters

segments [in]

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

Header

D2d1_3.h

Library

D2d1_3.lib

DLL

D2d1_3.dll

See also

ID2D1Ink

 

 

Show: