Share via


CD2DGeometrySink::AddBeziers

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

void AddBeziers(
   const CArray<D2D1_BEZIER_SEGMENT,
   D2D1_BEZIER_SEGMENT>& beziers
);

Parameters

  • beziers
    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.

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DGeometrySink Class