ID2D1SimplifiedGeometrySink::AddBeziers method

Creates a sequence of cubic Bezier curves and adds them to the geometry sink.

Syntax


virtual void AddBeziers(
  [inconst D2D1_BEZIER_SEGMENT *beziers,
             UINT                beziersCount
) = 0;

Parameters

beziers [in]

Type: const D2D1_BEZIER_SEGMENT*

A pointer to an array of Bezier segments that describes the Bezier curves to create. A curve is drawn from the geometry sink's current point (the end point of the last segment drawn or the location specified by BeginFigure) to the end point of the first Bezier segment in the array. if the array contains additional Bezier segments, each subsequent Bezier segment uses the end point of the preceding Bezier segment as its start point.

beziersCount

Type: UINT

The number of Bezier segments in the beziers array.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1SimplifiedGeometrySink

 

 

Show: