GitPedia

Direct2D

🏓 Direct2D所有版本(1.0至1.3)的示例代码 / All sample codes of Direct2D (1.0~1.3)

From Ray1024·Updated April 29, 2026·View on GitHub·

这个仓库包含了我学习Direct2D过程中写的示例代码,所有版本(1.0至1.3)的代码示例都在这里,并不定时地更新。 同样也包含了DirectWrite和WIC等常用工具的示例。 大部分示例代码在我的博客中都有详细解释,如果您有任何疑问,可以去我的博客看详细介绍,也可以通过下方公众号联系我。 The project is written primarily in C++, first published in 2016. Key topics include: d2d, d2d1, direct2d, direct2d1, directwrite.

Direct2D-Samples

这个仓库包含了我学习Direct2D过程中写的示例代码,所有版本(1.0至1.3)的代码示例都在这里,并不定时地更新。</br>
同样也包含了DirectWrite和WIC等常用工具的示例。</br>
大部分示例代码在我的博客中都有详细解释,如果您有任何疑问,可以去我的博客看详细介绍,也可以通过下方公众号联系我。

示例编写使用的IDE

Direct2D_1.0中使用的IDE为vs2010,其余均为vs2015。

Direct2D版本和windows sdk版本对应关系

Direct2D版本windows sdk版本头文件LibraryDLL 示例地址
Direct2D_1.0win7  d2d1.h  d2d1.libd2d1.dll示例
Direct2D_1.1win8  d2d1_1.hd2d1.libd2d1.dll示例
Direct2D_1.2win8.1d2d1_2.hd2d1.libd2d1.dll示例
Direct2D_1.3win10sdk版本 10.0.10586d2d1_3.hd2d1.libd2d1.dll示例

公众号

关注公众号:江湖码客Mark,有任何问题都可解答。</br>
公众号

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from Ray1024/Direct2D via the GitHub API.Last fetched: 6/21/2026