BezierSegment 函式 (d2d1helper.h)

建立 D2D1_BEZIER_SEGMENT 結構。

語法

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
);

參數

[in, ref] point1

類型: const D2D1_POINT_2F

Bezier 區段的第一個控制點。

[in, ref] point2

類型: const D2D1_POINT_2F

Bezier 區段的第二個控制點。

[in, ref] point3

類型: const D2D1_POINT_2F

Bezier 區段的結束點。

傳回值

類型: D2D1_BEZIER_SEGMENT

新的 Bezier 區段。

規格需求

需求
最低支援的用戶端 適用於 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 d2d1helper.h
程式庫 D2d1.lib
Dll D2d1.dll

另請參閱

ID2D1GeometrySink