source: Generics/TemplateGenerics/Specialized/SpecializedBitmap.pas

Last change on this file was 574, checked in by chronos, 30 hours ago
  • Modified: Removed U prefix from unit names.
File size: 2.6 KB
Line 
1unit SpecializedBitmap;
2
3interface
4
5uses
6 Classes, SysUtils,
7 Graphics, FPImage;
8
9type
10 {$MACRO ON}
11
12// TBitmapTColor<Integer, Integer, TColor>
13{$DEFINE TGBitmapIndexX := Integer}
14{$DEFINE TGBitmapIndexY := Integer}
15{$DEFINE TGBitmapItem := TColor}
16{$DEFINE TGBitmapIndex := TBitmapTColorIndex}
17{$DEFINE TGBitmapRow := TBitmapTColorRow}
18{$DEFINE TGBitmapMatrix := TBitmapTColorMatrix}
19{$DEFINE TGBitmap := TBitmapTColor}
20{$DEFINE TGBitmapSortCompare := TBitmapTColorSortCompare}
21{$DEFINE TGBitmapToStringConverter := TBitmapTColorToStringConverter}
22{$DEFINE TGBitmapFromStringConverter := TBitmapTColorFromStringConverter}
23{$DEFINE TGBitmapMerge := TBitmapTColorMerge}
24{$DEFINE INTERFACE}
25{$I 'GenericBitmap.inc'}
26
27// TBitmapTFPColor<Integer, Integer, TFPColor>
28{$DEFINE TGBitmapIndexX := Integer}
29{$DEFINE TGBitmapIndexY := Integer}
30{$DEFINE TGBitmapItem := TFPColor}
31{$DEFINE TGBitmapIndex := TBitmapTFPColorIndex}
32{$DEFINE TGBitmapRow := TBitmapTFPColorRow}
33{$DEFINE TGBitmapMatrix := TBitmapTFPColorMatrix}
34{$DEFINE TGBitmap := TBitmapTFPColor}
35{$DEFINE TGBitmapSortCompare := TBitmapTFPColorSortCompare}
36{$DEFINE TGBitmapToStringConverter := TBitmapTFPColorToStringConverter}
37{$DEFINE TGBitmapFromStringConverter := TBitmapTFPColorFromStringConverter}
38{$DEFINE TGBitmapMerge := TBitmapTFPColorMerge}
39{$DEFINE INTERFACE}
40{$I 'GenericBitmap.inc'}
41
42implementation
43
44{$DEFINE IMPLEMENTATION_USES}
45{$I 'GenericBitmap.inc'}
46
47// TBitmapTColor<Integer, Integer, TColor>
48{$DEFINE TGBitmapIndexX := Integer}
49{$DEFINE TGBitmapIndexY := Integer}
50{$DEFINE TGBitmapItem := TColor}
51{$DEFINE TGBitmapIndex := TBitmapTColorIndex}
52{$DEFINE TGBitmapRow := TBitmapTColorRow}
53{$DEFINE TGBitmapMatrix := TBitmapTColorMatrix}
54{$DEFINE TGBitmap := TBitmapTColor}
55{$DEFINE TGBitmapSortCompare := TBitmapTColorSortCompare}
56{$DEFINE TGBitmapToStringConverter := TBitmapTColorToStringConverter}
57{$DEFINE TGBitmapFromStringConverter := TBitmapTColorFromStringConverter}
58{$DEFINE TGBitmapMerge := TBitmapTColorMerge}
59{$DEFINE IMPLEMENTATION}
60{$I 'GenericBitmap.inc'}
61
62// TBitmapTFPColor<Integer, Integer, TFPColor>
63{$DEFINE TGBitmapIndexX := Integer}
64{$DEFINE TGBitmapIndexY := Integer}
65{$DEFINE TGBitmapItem := TFPColor}
66{$DEFINE TGBitmapIndex := TBitmapTFPColorIndex}
67{$DEFINE TGBitmapRow := TBitmapTFPColorRow}
68{$DEFINE TGBitmapMatrix := TBitmapTFPColorMatrix}
69{$DEFINE TGBitmap := TBitmapTFPColor}
70{$DEFINE TGBitmapSortCompare := TBitmapTFPColorSortCompare}
71{$DEFINE TGBitmapToStringConverter := TBitmapTFPColorToStringConverter}
72{$DEFINE TGBitmapFromStringConverter := TBitmapTFPColorFromStringConverter}
73{$DEFINE TGBitmapMerge := TBitmapTFPColorMerge}
74{$DEFINE IMPLEMENTATION}
75{$I 'GenericBitmap.inc'}
76
77end.
78
Note: See TracBrowser for help on using the repository browser.