共用方式為


Direct2D

目的

Direct2D 是硬體加速的即時模式 2D 圖形 API,可為 2D 幾何、點陣圖和文字提供高效能和高品質的轉譯。 Direct2D API 的設計目的是要與 GDI、GDI+和 Direct3D 互通。

開發人員物件

Direct2D 主要是設計供下列開發人員類別使用:

  • 大型、企業級、原生應用程式的開發人員。
  • 建立控件工具組和連結庫以供下游開發人員取用的開發人員。
  • 需要伺服器端轉譯 2D 圖形的開發人員。
  • 使用 Direct3D 圖形且需要簡單、高效能的 2D 和文字轉譯的開發人員,以便用於功能表、使用者介面 (UI) 元素和抬頭顯示器 (HUD)。

運行時間需求

  • Windows 7 或 Windows Vista Service Pack 2 (SP2) 和適用於 Windows Vista 和更新版本的平臺更新。
  • Windows Server 2008 R2 或 Windows Server 2008 Service Pack 2 (SP2) 和適用於 Windows Server 2008 和更新版本的平臺更新。

注意

適用於 Windows Vista 的平臺更新和適用於 Windows Server 2008 的平臺更新是一組運行時間連結庫,可讓開發人員將應用程式的目標設為 Windows 7、Windows Vista、Windows Server 2008 R2 和 Windows Server 2008。 這些更新可透過 Windows Update 提供給所有 Windows Vista 和 Windows Server 2008 客戶。 需要 Windows Vista 平臺更新或 Windows Server 2008 平臺更新的第三方應用程式可以讓 Windows Update 偵測是否已安裝必要的更新;如果不是,Windows Update 將會在背景下載並安裝它。

在本節中

主題 描述
Direct2D 的新功能
以下是 Direct2D 的一些新增專案。
關於 Direct2D
介紹 Direct2D,這是一種 API,可讓 Win32 開發人員以更高的效能和視覺品質執行 2D 圖形轉譯工作。
適用於 Windows 8 Direct2D 快速入門
摘要說明使用 Direct2D 繪製所需的步驟,並提供範例程式代碼。
Direct2D 用戶入門
描述如何開始建立 Direct2D 應用程式並提供範例程式代碼。
程式設計手冊
本節包含概念性程序設計主題,描述如何使用 Direct2D API。
Direct2D 參考
詳細說明 Direct2D API。
工具和公用程式
為 Direct2D 提供的工具和公用程式。
範例
示範 Direct2D API 的範例應用程式。
Direct2D 詞彙
描述 Direct2D 檔常用的詞彙。

其他資源