Delphi 與 DirectX 之 DelphiX(16): DXImageList1.Items.Find();
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Cl
Delphi 與 DirectX 之 DelphiX(17): TPictureCollectionItem.PatternWidth、PatternHeight
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Cl
Delphi 與 DirectX 之 DelphiX(18): TDXDraw 中描繪圖片的命令
前面的繪圖命令都是來自 TDXImageList, 准確地說是來自 TDXImageList.Items 所包含的 TPictureCollectionI
Delphi 與 DirectX 之 DelphiX(19): 繪圖表面(TDirectDrawSurface)如何加載圖片
上個例子中 TDirectDrawSurface 是從 TDXImageList 中獲取的圖片, 其實 TDirectDrawSurface 自己獲取圖片的
Delphi 與 DirectX 之 DelphiX(20): TDirectDrawSurface.FillRect...
TDirectDrawSurface.Fill();TDirectDrawSurface.FillRect();TDirectDrawSurface.Fill
Delphi 與 DirectX 之 DelphiX(21): TDirectDrawSurface 的繪圖命令
TDirectDrawSurface.PokeLine();TDirectDrawSurface.PokeLinePolar();TDirectDrawSur
Delphi 與 DirectX 之 DelphiX(22): TDirectDrawSurface.Noise();
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Cl
Delphi 與 DirectX 之 DelphiX(23): TDirectDrawSurface.Blur;
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Cl
Delphi 與 DirectX 之 DelphiX(24): TDirectDrawSurface.Blt()、BltFast();
這兩個函數可不是一般的麻煩, 特別是 Blt(); 暫時搞不徹底, 這是初步嘗試的例子: 代碼文件:unit Unit1;interfaceuses Win
Delphi 與 DirectX 之 DelphiX(25): TDIB.Blur();
DelphiX 的組件面板上, 第二個就是 TDXDIB; TDXDIB.DIB 是 TDXDIB 的唯一屬性(其他是 TComponent 固有的);
Delphi 與 DirectX 之 DelphiX(26): TDIB 的主要載體 - TDXPaintBox
TDXPaintBox 和 TPaintBox 一樣擁有重要的屬性 Canvas; 現在要關心的是 TDXPaintBox 另一個主要屬性: DIB(TD
Delphi 與 DirectX 之 DelphiX(27): TDIB.Spray();
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Cl
Delphi 與 DirectX 之 DelphiX(28): TDIB.Emboss;
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, C
Delphi 與 DirectX 之 DelphiX(29): TDIB.AddMonoNoise();
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Cl
Delphi 與 DirectX 之 DelphiX(30): TDIB.AddGradiantNoise();
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Cl
Delphi 與 DirectX 之 DelphiX(31): TDIB.Twist();
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, C
Delphi 與 DirectX 之 DelphiX(32): TDIB.FishEye();
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Cl
Delphi 與 DirectX 之 DelphiX(33): TDIB.SmoothRotateWrap();
本例效果圖: 代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, C