LinearGradientBrushProperties 関数

D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES 構造体を作成します。

構文

D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES LinearGradientBrushProperties(
  __in  const D2D1_POINT_2F &startPoint,
  __in  const D2D1_POINT_2F &endPoint
);

パラメーター

  • startPoint [in]
    D2D1_POINT_2F ブラシの座標空間では、グラデーション軸の始点。
  • endPoint [in]
    D2D1_POINT_2F ブラシの座標空間では、グラデーション軸の終点。

戻り値

D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES

ID2D1LinearGradientBrush のグラデーション軸の始点と終点を格納する構造体。

要件

クライアントの最小要件

Windows 7, Windows Vista SP2 および Windows Vista 用のプラットフォーム更新プログラム

サーバーの最小要件

Windows Server 2008 R2, Windows Server 2008 SP2 および Windows Server 2008 用のプラットフォーム更新プログラム

ヘッダー

D2d1helper.h

ライブラリ

D2d1.lib

DLL

D2d1.dll

名前空間

D2D1