這兩天考慮把DirectX 版本升級(jí),同時(shí)把相關(guān)的功能也升級(jí),比如畫(huà)圖,之前用的是DirectDraw比較老,現(xiàn)在想改用Direct2D。
Direct2D是DirectX11中的新特性,可以說(shuō)是DirectDraw的升級(jí)版。DirectX最新版本
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6812,當(dāng)然要想使用DirectX11需要系統(tǒng)支持,win7中就已帶DirectX11,而vista中使用就需要Update,以下來(lái)自MSDN文檔
Direct3D 11 Runtime
To obtain the Direct3D 11 runtime, please install the release version of Windows 7 or Windows Server 2008 R2. Windows Vista users can follow the procedure described in
KB 971644 (or
KB 971512 for corporate network users).
http://support.microsoft.com/kb/971644具體如何去實(shí)現(xiàn)一個(gè)DirectX2D Application 參見(jiàn)DirectX 2010.6 版本中SDK文檔——Windows DirectX Graphics Documention——Direct2D
Direct2D入門(mén):
http://blog.pfan.cn/lym51/52200.html使用Direct2D繪圖
http://msdn.microsoft.com/zh-cn/magazine/ee413543.aspx