随笔分类 -  Direct2D

上一页 1 2 3
Direct2D (2) : 基本图形命令测试
摘要:代码:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, TypInfo, Direct2D;type TForm1 = class(TForm) ListBox1: TListBox; Panel1: TPanel; GroupBox1: TGroupBox; CheckBox1: TCheckBox; Edit1: TEdit; UpDown1: TUpDown; C 阅读全文
posted @ 2011-03-30 23:42 万一 阅读(3506) 评论(1) 推荐(0) 编辑
Direct2D (1) : 第一个例子
摘要:应该是 Delphi 2009 就支持 Direct2D 了,但那时我还用着 WinXP 系统(不支持);现在的测试环境是 Win7+DelphiXE。Direct2D 属 DirectX 家族,是 GDI、GDI+ 的继任者,支持硬件加速,并能与 GDI、GDI+、D3D 交互。其它初步的印象是其文本处理和图像处理分别使用了 DirectWrite 和 WIC 技术,还有支持图层。相关单元是 Direct2D.pas 和 D2D1.pas。Direct2D.pas 中是 Delphi 对 Direct2D 的简单实现,需要其更多功能时还应从 D2D1.pas 中挖掘。Direct2D.pas 阅读全文
posted @ 2011-03-30 11:59 万一 阅读(5795) 评论(2) 推荐(2) 编辑

上一页 1 2 3