2013年3月22日

摘要: http://msdn.microsoft.com/zh-cn/library/windows/desktop/hh404478This topic walks you through the process of creating the DemoApp class, which creates a window and uses Direct2D to draw a grid and two rectangles. In this tutorial, you learn how to create Direct2D resources and draw basic shapes. You 阅读全文
posted @ 2013-03-22 22:12 小葫芦藤 阅读(726) 评论(0) 推荐(0)
摘要: 本文为MSDN Direct2D 部分译文,欢迎指点!原文:http://msdn.microsoft.com/en-us/library/windows/desktop/dd535473(v=vs.85).aspx转载请注明出处:Direct2D 是用于创建2D图形的本地即时模式应用程序接口。本文介绍如何在典型的Win32应用程序中运用Direct2D进行绘制。本文包括以下内容:绘制一个简单的矩形第一步:包含 Direct2D 头文件第二步:创建 ID2D1Factory第三步:创建 ID2D1HwndRenderTarget第四步:创建 Brush第五步:画矩形第六步:释放资源创建一个简单 阅读全文
posted @ 2013-03-22 21:58 小葫芦藤 阅读(691) 评论(1) 推荐(0)

导航