E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
delphix
Delphi 与 DirectX 之
DelphiX
(49): TDIB.DoGrayScale;
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:02
Delphi
Delphi 与 DirectX 之
DelphiX
(48): TDIB.DoFishEye();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:01
Delphi
Delphi 与 DirectX 之
DelphiX
(47): TDIB.DoContrast();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:01
Delphi
Delphi 与 DirectX 之
DelphiX
(46): TDIB.DoAntiAlias;
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:00
Delphi
Delphi 与 DirectX 之
DelphiX
(45): TDIB.DoAddMonoNoise();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:59
Delphi
Delphi 与 DirectX 之
DelphiX
(44): TDIB.DoAddColorNoise();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:58
Delphi
Delphi 与 DirectX 之
DelphiX
(43): TDIB.DoInvert;
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:58
Delphi
Delphi 与 DirectX 之
DelphiX
(42): TDIB.GaussianBlur();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:57
Delphi
Delphi 与 DirectX 之
DelphiX
(40): TDIB.Rotate();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:56
Delphi
Delphi 与 DirectX 之
DelphiX
(41): TDIB.SplitBlur();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:56
Delphi
Delphi 与 DirectX 之
DelphiX
(39): TDIB.Sharpen();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:55
Delphi
Delphi 与 DirectX 之
DelphiX
(38): TDIB.Filter();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:54
Delphi
Delphi 与 DirectX 之
DelphiX
(37): TDIB.AddRGB();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:53
Delphi
Delphi 与 DirectX 之
DelphiX
(35): TDIB.Saturation();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:52
Delphi
Delphi 与 DirectX 之
DelphiX
(36): TDIB.Contrast();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:52
Delphi
Delphi 与 DirectX 之
DelphiX
(34): TDIB.Lightness();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:51
Delphi
Delphi 与 DirectX 之
DelphiX
(33): TDIB.SmoothRotateWrap();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:50
Delphi
Delphi 与 DirectX 之
DelphiX
(32): TDIB.FishEye();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:50
Delphi
Delphi 与 DirectX 之
DelphiX
(30): TDIB.AddGradiantNoise();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:49
Delphi
Delphi 与 DirectX 之
DelphiX
(31): TDIB.Twist();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:48
Delphi
Delphi 与 DirectX 之
DelphiX
(28): TDIB.Emboss;
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:47
Delphi
Delphi 与 DirectX 之
DelphiX
(29): TDIB.AddMonoNoise();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:47
Delphi
Delphi 与 DirectX 之
DelphiX
(27): TDIB.Spray();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DIB, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:46
Delphi
Delphi 与 DirectX 之
DelphiX
(26): TDIB 的主要载体 - TDXPaintBox
TDXPaintBox 和 TPaintBox 一样拥有重要的属性 Canvas; 现在要关心的是 TDXPaintBox 另一个主要属性: DIB(TDIB 对象); 在下面学习 TDIB 时, 应该会大量用到这个 TDXPaintBox. 虽然叫它 TDXPaintBox, 但我觉得它更像 TImage, 只是把 TImage.Picture 换做了 TDXPaintBo
·
2015-11-02 12:45
Delphi
Delphi 与 DirectX 之
DelphiX
(25): TDIB.Blur();
DelphiX
的组件面板上, 第二个就是 TDXDIB; TDXDIB.DIB 是 TDXDIB 的唯一属性(其他是 TComponent 固有的); TDXDIB.DIB 属性是一个
·
2015-11-02 12:45
Delphi
Delphi 与 DirectX 之
DelphiX
(24): TDirectDrawSurface.Blt()、BltFast();
这两个函数可不是一般的麻烦, 特别是 Blt(); 暂时搞不彻底, 这是初步尝试的例子: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdC
·
2015-11-02 12:44
Delphi
Delphi 与 DirectX 之
DelphiX
(23): TDirectDrawSurface.Blur;
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:43
Delphi
Delphi 与 DirectX 之
DelphiX
(21): TDirectDrawSurface 的绘图命令
TDirectDrawSurface.PokeLine(); TDirectDrawSurface.PokeLinePolar(); TDirectDrawSurface.PokeBox(); TDirectDrawSurface.PokeBlendPixel(); TDirectDrawSurface.PokeCircle(); TDirectDrawSurface.PokeE
·
2015-11-02 12:42
Delphi
Delphi 与 DirectX 之
DelphiX
(22): TDirectDrawSurface.Noise();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXClass, DXDraws, ComCtrls; type TForm1 = clas
·
2015-11-02 12:42
Delphi
Delphi 与 DirectX 之
DelphiX
(20): TDirectDrawSurface.FillRect...
TDirectDrawSurface.Fill(); TDirectDrawSurface.FillRect(); TDirectDrawSurface.FillRectAlpha(); TDirectDrawSurface.FillRectAdd(); TDirectDrawSurface.FillRectSub(); 其中 Fill 在前面每个例子中都有用到; 另外注意:
·
2015-11-02 12:41
Delphi
Delphi 与 DirectX 之
DelphiX
(19): 绘图表面(TDirectDrawSurface)如何加载图片
上个例子中 TDirectDrawSurface 是从 TDXImageList 中获取的图片, 其实 TDirectDrawSurface 自己获取图片的方法有很多: TDirectDrawSurface.LoadFromFile(); TDirectDrawSurface.LoadFromStream(); TDirectDrawSurface.LoadFromGraphic
·
2015-11-02 12:40
Delphi
Delphi 与 DirectX 之
DelphiX
(18): TDXDraw 中描绘图片的命令
前面的绘图命令都是来自 TDXImageList, 准确地说是来自 TDXImageList.Items 所包含的 TPictureCollectionItem 对象. 那 TDXDraw 本身有没有绘图命令呢? TDXDraw 本身没有绘图命令, 但它的有绘图表面(TDirectDrawSurface), 譬如: Surface、Primary; TDXDraw 的绘图表面
·
2015-11-02 12:39
Delphi
Delphi 与 DirectX 之
DelphiX
(17): TPictureCollectionItem.PatternWidth、PatternHeight
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:39
Collection
Delphi 与 DirectX 之
DelphiX
(16): DXImageList1.Items.Find();
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:39
Delphi
Delphi 与 DirectX 之
DelphiX
(15): TPictureCollectionItem.DrawWaveX、DrawWaveY ...
此类函数有: TPictureCollectionItem.DrawWaveX(); TPictureCollectionItem.DrawWaveXAdd(); TPictureCollectionItem.DrawWaveXAlpha(); TPictureCollectionItem.DrawWaveXSub(); TPictureCollectionItem.Draw
·
2015-11-02 12:37
Collection
Delphi 与 DirectX 之
DelphiX
(14): TPictureCollectionItem.DrawRotate...
TPictureCollectionItem.DrawRotate(); 的同类函数还有: TPictureCollectionItem.DrawRotateAdd(); TPictureCollectionItem.DrawRotateSub(); TPictureCollectionItem.DrawRotateAlpha(); TPictureCollectionItem.D
·
2015-11-02 12:36
Collection
Delphi 与 DirectX 之
DelphiX
(13): TPictureCollectionItem.DrawRotate
本例效果图(实际效果是相当流畅的, gif 只能说明个动作趋势): 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrls, DXClas
·
2015-11-02 12:36
Collection
Delphi 与 DirectX 之
DelphiX
(12): TPictureCollectionItem.DrawAlpha
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrls, DXClass, ComCtrls; type TFo
·
2015-11-02 12:35
Collection
Delphi 与 DirectX 之
DelphiX
(9): 透明色与是否透明
TDXImageList.Items 中的每个 TPictureCollectionItem 的默认透明色是黑色, 并默认透明. 本例使用的测试图片: http://files.cnblogs.com/del/Transparent.rar 本例效果图: 代码文件: unit Unit1; interface uses Windows, M
·
2015-11-02 12:33
Delphi
Delphi 与 DirectX 之
DelphiX
(10): TPictureCollectionItem.StretchDraw - 绘制到指定矩形
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrls, DXClass; type TForm1 = clas
·
2015-11-02 12:33
Collection
Delphi 与 DirectX 之
DelphiX
(8): 第一个简单动画
本例效果图(用 gif 动画演示, 无论如何也出不来 DirectX 的流畅效果): 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrl
·
2015-11-02 12:32
Delphi
Delphi 与 DirectX 之
DelphiX
(11): TPictureCollectionItem.DrawAdd、DrawSub
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrls, DXClass; type TForm1 = clas
·
2015-11-02 12:32
Collection
Delphi 与 DirectX 之
DelphiX
(7): 给 TDXImageList 加载图片的最后方案
本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DXDraws, StdCtrls; type TForm1 = class(TForm)
·
2015-11-02 12:31
Delphi
Delphi 与 DirectX 之
DelphiX
(6): 让 TDXImageList 和常规 VCL 交互使用
本例测试了两个问题: 1、其他 VCL 加载的图片能否给 TDXImageList 使用; 2、TDXImageList 中的图片能否给其他 VCL 使用. 例子中先用 TPicture 加载了图片, 然后给 TDXImageList; 然后把图片绘制在了窗体上, 而非 TDXDraw 中. 继续了解点 TDXImageList: TDXImageList 控件只
·
2015-11-02 12:30
Delphi
Delphi 与 DirectX 之
DelphiX
(5): 初识 TDXImageList
新建工程后, 在窗体上分别添加: DXDraw1、DXImageList1; 然后只需要下面四行代码即可在 DXDraw1 中显示
DelphiX
.dxg 图像: procedure
·
2015-11-02 12:30
Delphi
Delphi 与 DirectX 之
DelphiX
(4): 初识 TDXTimer
DelphiX
提供了高性能的计时器 TDXTimer, 使用方法和 Timer 基本一样.
·
2015-11-02 12:29
Delphi
Delphi 与 DirectX 之
DelphiX
(3): 初识 TDXDraw
在
DelphiX
中, 所能看到的一般都是画在 TDXDraw.
·
2015-11-02 12:28
Delphi
Delphi 与 DirectX 之
DelphiX
(1): 安装测试
测试 Demo 下载: http://files.cnblogs.com/del/
DelphiX
_1.rar (在 Delphi 2007 和 2009 下均编译通过) 其实按照 这里
·
2015-11-02 12:27
Delphi
Delphi 与 DirectX 之
DelphiX
(95): TDIB.x
//让 TDIB 的这些特效烦透了: 多、还重复、又不完善; 还没有测试或测试失败的方法: procedure DrawShadow(SrcDIB: TDIB; X, Y, Width, Height, Frame: Integer; FilterMode: TFilterMode); procedure DrawShadows(SrcDIB: TDIB; X, Y, Width, H
·
2015-10-31 10:53
Delphi
Delphi 与 DirectX 之
DelphiX
(2):
DelphiX
各单元概览
DXClass | DXDraws | DIB | DXSounds | DXWave | DXPlay | DXSprite | DXInput DXClass 单元 TControlSubClass TControlSubClassProc TCustomDXTimer TDirectX TDirectXDriver TDirectXDriver
·
2015-10-31 10:53
Delphi
上一页
1
2
3
4
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他