OSDN Git Service

Please enter the commit message for your changes. Lines starting
[eos/hostdependX86LINUX64.git] / util / X86LINUX64 / lib / blt2.5 / demos / scripts / stipples.tcl
1 blt::bitmap define bdiagonal1 { 
2 #define bdiagonal1_width 8
3 #define bdiagonal1_height 8
4 static unsigned char bdiagonal1_bits[] = {
5    0x88, 0x44, 0x22, 0x11, 0x88, 0x44, 0x22, 0x11};
6 }
7
8 blt::bitmap define bdiagonal2 { 
9 #define bdiagonal2_width 8
10 #define bdiagonal2_height 8
11 static unsigned char bdiagonal2_bits[] = {
12    0x08, 0x04, 0x02, 0x01, 0x80, 0x40, 0x20, 0x10};
13 }
14
15 blt::bitmap define checker2 { 
16 #define checker2_width 8
17 #define checker2_height 8
18 static unsigned char checker2_bits[] = {
19    0x33, 0x33, 0xcc, 0xcc, 0x33, 0x33, 0xcc, 0xcc};
20 }
21
22 blt::bitmap define checker3 { 
23 #define checker3_width 8
24 #define checker3_height 8
25 static unsigned char checker3_bits[] = {
26    0x0f, 0x0f, 0x0f, 0x0f, 0xf0, 0xf0, 0xf0, 0xf0};
27 }
28
29 blt::bitmap define cross1 { 
30 #define cross1_width 8
31 #define cross1_height 8
32 static unsigned char cross_bits[] = {
33    0xff, 0xaa, 0xff, 0xaa, 0xff, 0xaa, 0xff, 0xaa};
34 }
35
36 blt::bitmap define cross2 { 
37 #define cross2_width 8
38 #define cross2_height 8
39 static unsigned char cross2_bits[] = {
40    0xff, 0x88, 0x88, 0x88, 0xff, 0x88, 0x88, 0x88};
41 }
42
43 blt::bitmap define cross3 { 
44 #define cross3_width 8
45 #define cross3_height 8
46 static unsigned char cross3_bits[] = {
47    0xff, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01};
48 }
49
50 blt::bitmap define crossdiag { 
51 #define crossdiag_width 8
52 #define crossdiag_height 8
53 static unsigned char crossdiag2_bits[] = {
54    0x18, 0x24, 0x42, 0x81, 0x81, 0x42, 0x24, 0x18};
55 }
56
57 blt::bitmap define dot1 { 
58 #define dot1_width 8
59 #define dot1_height 8
60 static unsigned char dot1_bits[] = {
61    0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa};
62 }
63
64 blt::bitmap define dot2 { 
65 #define dot2_width 8
66 #define dot2_height 8
67 static unsigned char dot2_bits[] = {
68    0x55, 0x00, 0x55, 0x00, 0x55, 0x00, 0x55, 0x00};
69 }
70
71 blt::bitmap define dot3 { 
72 #define dot3_width 8
73 #define dot3_height 8
74 static unsigned char dot3_bits[] = {
75    0x11, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00};
76 }
77
78 blt::bitmap define dot4 { 
79 #define dot4_width 8
80 #define dot4_height 8
81 static unsigned char dot4_bits[] = {
82    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
83 }
84
85 blt::bitmap define fdiagonal1 { 
86 #define fdiagonal1_width 8
87 #define fdiagonal1_height 8
88 static unsigned char fdiagonal1_bits[] = {
89    0x11, 0x22, 0x44, 0x88, 0x11, 0x22, 0x44, 0x88};
90 }
91
92 blt::bitmap define fdiagonal2 { 
93 #define fdiagonal2_width 8
94 #define fdiagonal2_height 8
95 static unsigned char fdiagonal2_bits[] = {
96    0x10, 0x20, 0x40, 0x80, 0x01, 0x02, 0x04, 0x08};
97 }
98
99 blt::bitmap define hline1 { 
100 #define hline1_width 8
101 #define hline1_height 8
102 static unsigned char hline1_bits[] = {
103    0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00};
104 }
105
106 blt::bitmap define hline2 { 
107 #define hline2_width 8
108 #define hline2_height 8
109 static unsigned char hline2_bits[] = {
110    0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00};
111 }
112
113 blt::bitmap define lbottom { 
114 #define lbottom_width 8
115 #define lbottom_height 8
116 static unsigned char lbottom_bits[] = {
117    0x00, 0x11, 0x11, 0x77, 0x00, 0x11, 0x11, 0x77};
118 }
119
120 blt::bitmap define ltop { 
121 #define ltop_width 8
122 #define ltop_height 8
123 static unsigned char ltop_bits[] = {
124    0xee, 0x88, 0x88, 0x00, 0xee, 0x88, 0x88, 0x00};
125 }
126
127 blt::bitmap define rbottom { 
128 #define rbottom_width 8
129 #define rbottom_height 8
130 static unsigned char rbottom_bits[] = {
131    0x00, 0x88, 0x88, 0xee, 0x00, 0x88, 0x88, 0xee};
132 }
133
134 blt::bitmap define rtop { 
135 #define rtop_width 8
136 #define rtop_height 8
137 static unsigned char rtop_bits[] = {
138    0x77, 0x11, 0x11, 0x00, 0x77, 0x11, 0x11, 0x00};
139 }
140
141 blt::bitmap define vline1 { 
142 #define vline1_width 8
143 #define vline1_height 8
144 static unsigned char vline1_bits[] = {
145    0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55};
146 }
147
148 blt::bitmap define vline2 { 
149 #define vline2_width 8
150 #define vline2_height 8
151 static unsigned char vline2_bits[] = {
152    0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33};
153 }