BezierSegment function (d2d1helper.h)

Creates a D2D1_BEZIER_SEGMENT structure.

Syntax

D2D1_BEZIER_SEGMENT BezierSegment(
  [in, ref] const D2D1_POINT_2F & point1,
  [in, ref] const D2D1_POINT_2F & point2,
  [in, ref] const D2D1_POINT_2F & point3
);

Parameters

[in, ref] point1

Type: const D2D1_POINT_2F

The first control point for the Bezier segment.

[in, ref] point2

Type: const D2D1_POINT_2F

The second control point for the Bezier segment.

[in, ref] point3

Type: const D2D1_POINT_2F

The end point for the Bezier segment.

Return value

Type: D2D1_BEZIER_SEGMENT

The new Bezier segment.

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 d2d1helper.h
Library D2d1.lib
DLL D2d1.dll

See also

ID2D1GeometrySink