ID2D1Factory::CreateEllipseGeometry (constD2D1_ELLIPSE&,ID2D1EllipseGeometry**) 方法 (d2d1.h)

建立 ID2D1EllipseGeometry

語法

HRESULT CreateEllipseGeometry(
  const D2D1_ELLIPSE & ellipse,
  ID2D1EllipseGeometry **ellipseGeometry
);

參數

ellipse

Type: [in] const D2D1_ELLIPSE &

值,描述橢圓形幾何的中心點、x 半徑和 Y 半徑。

ellipseGeometry

類型:[out] ID2D1EllipseGeometry**

當這個方法傳回時,會包含這個方法所建立橢圓形幾何指標的位址。

傳回值

類型: HRESULT

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

規格需求

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

另請參閱

ID2D1Factory