ID2D1SimplifiedGeometrySink::AddBeziers method (d2d1.h)

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

Syntax

void AddBeziers(
  [in] const D2D1_BEZIER_SEGMENT *beziers,
       UINT32                    beziersCount
);

Parameters

[in] beziers

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

None

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1.h
Library D2d1.lib
DLL D2d1.dll

See also

ID2D1SimplifiedGeometrySink