|
1 [include] |
|
2 file1=\graphics\t_graphics.ini |
|
3 |
|
4 |
|
5 [fbsSession] |
|
6 name=fbs |
|
7 |
|
8 [wsSession] |
|
9 name=ws |
|
10 |
|
11 [fbsBitGc] |
|
12 name=bitgc |
|
13 |
|
14 [fbsBitGc2] |
|
15 name=bitgc2 |
|
16 |
|
17 [fbsFont] |
|
18 name=fbsfnt |
|
19 |
|
20 [font] |
|
21 name=font |
|
22 |
|
23 [fbsBitmap] |
|
24 name=fbsBitmap |
|
25 |
|
26 [fbsMaskBitmap] |
|
27 name=fbsmaskbmp |
|
28 |
|
29 [wsBitmap] |
|
30 name=wsbmp |
|
31 |
|
32 [wsMaskBitmap] |
|
33 name=wsmaskbmp |
|
34 |
|
35 [fbsSrcBitmap1] |
|
36 name=fbssrcbmp1 |
|
37 |
|
38 [fbsSrcBitmap2] |
|
39 name=fbssrcbmp2 |
|
40 |
|
41 [alphaBitmap] |
|
42 name=alphabmp |
|
43 |
|
44 [fbsScrDev] |
|
45 name=scrdev |
|
46 |
|
47 [wsScrDev] |
|
48 name=wsscrdev |
|
49 |
|
50 [fbsTypefaceStore] |
|
51 name=fbstfs |
|
52 |
|
53 |
|
54 |
|
55 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0001-NewL_command02] |
|
56 displaymode ={default_bitgdi, displaymode} |
|
57 screen_number ={default_bitgdi, screennumber} |
|
58 |
|
59 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0001-Activate_command04] |
|
60 device =fbsScrDev |
|
61 |
|
62 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0001-SetPenSize_command06] |
|
63 size_height =2 |
|
64 size_width =2 |
|
65 |
|
66 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0001-SetPenColor_command07] |
|
67 color_red =255 |
|
68 color_green =0 |
|
69 color_blue =0 |
|
70 |
|
71 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0001-Plot_command08] |
|
72 point_x =100 |
|
73 point_y =100 |
|
74 |
|
75 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0001-checkPixels_command11] |
|
76 pixel1_x =100 |
|
77 pixel1_y =100 |
|
78 expected1_red =255 |
|
79 expected1_green =0 |
|
80 expected1_blue =0 |
|
81 pixel2_x =100 |
|
82 pixel2_y =101 |
|
83 expected2_red =255 |
|
84 expected2_green =0 |
|
85 expected2_blue =0 |
|
86 pixel3_x =101 |
|
87 pixel3_y =100 |
|
88 expected3_red =255 |
|
89 expected3_green =0 |
|
90 expected3_blue =0 |
|
91 pixel4_x =101 |
|
92 pixel4_y =101 |
|
93 expected4_red =255 |
|
94 expected4_green =0 |
|
95 expected4_blue =0 |
|
96 |
|
97 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0001-PromptMessage_command12] |
|
98 message =A red point is drawn; Press key '1' to confirm, if not press any key else! |
|
99 keyCode =49 |
|
100 |
|
101 |
|
102 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-NewL_command02] |
|
103 displaymode ={default_bitgdi, displaymode} |
|
104 screen_number ={default_bitgdi, screennumber} |
|
105 |
|
106 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-Activate_command04] |
|
107 device =fbsScrDev |
|
108 |
|
109 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-SetPenSize_command06] |
|
110 size_height =2 |
|
111 size_width =2 |
|
112 |
|
113 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-SetPenColor_command07] |
|
114 color_red =255 |
|
115 color_green =0 |
|
116 color_blue =0 |
|
117 |
|
118 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-Plot_command08] |
|
119 point_x =100 |
|
120 point_y =30 |
|
121 |
|
122 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-SetPenColor_command09] |
|
123 color_red =0 |
|
124 color_green =255 |
|
125 color_blue =0 |
|
126 |
|
127 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-Plot_command10] |
|
128 point_x =50 |
|
129 point_y =70 |
|
130 |
|
131 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-Plot_command11] |
|
132 point_x =150 |
|
133 point_y =70 |
|
134 |
|
135 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-SetPenColor_command12] |
|
136 color_red =0 |
|
137 color_green =0 |
|
138 color_blue =255 |
|
139 |
|
140 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-Plot_command13] |
|
141 point_x =75 |
|
142 point_y =120 |
|
143 |
|
144 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-Plot_command14] |
|
145 point_x =125 |
|
146 point_y =120 |
|
147 |
|
148 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-checkPixels_command17] |
|
149 pixel1_x =100 |
|
150 pixel1_y =30 |
|
151 expected1_red =255 |
|
152 expected1_green =0 |
|
153 expected1_blue =0 |
|
154 pixel2_x =50 |
|
155 pixel2_y =70 |
|
156 expected2_red =0 |
|
157 expected2_green =255 |
|
158 expected2_blue =0 |
|
159 pixel3_x =150 |
|
160 pixel3_y =70 |
|
161 expected3_red =0 |
|
162 expected3_green =255 |
|
163 expected3_blue =0 |
|
164 pixel4_x =75 |
|
165 pixel4_y =120 |
|
166 expected4_red =0 |
|
167 expected4_green =0 |
|
168 expected4_blue =255 |
|
169 pixel5_x =125 |
|
170 pixel5_y =120 |
|
171 expected5_red =0 |
|
172 expected5_green =0 |
|
173 expected5_blue =255 |
|
174 |
|
175 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0002-PromptMessage_command18] |
|
176 message =Five (red, green, blue) points are drawn; Press key '1' to confirm, if not press any key else! |
|
177 keyCode =49 |
|
178 |
|
179 |
|
180 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0003-NewL_command02] |
|
181 displaymode ={default_bitgdi, displaymode} |
|
182 screen_number ={default_bitgdi, screennumber} |
|
183 |
|
184 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0003-Activate_command04] |
|
185 device =fbsScrDev |
|
186 |
|
187 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0003-SetPenSize_command06] |
|
188 size_height =1 |
|
189 size_width =1 |
|
190 |
|
191 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0003-SetPenColor_command07] |
|
192 color_red =255 |
|
193 color_green =0 |
|
194 color_blue =0 |
|
195 |
|
196 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0003-DrawLine_command08] |
|
197 point1_x =20 |
|
198 point1_y =100 |
|
199 point2_x =120 |
|
200 point2_y =100 |
|
201 |
|
202 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0003-checkLineColor_command11] |
|
203 start1_x =20 |
|
204 start1_y =100 |
|
205 finish1_x =120 |
|
206 finish1_y =100 |
|
207 expected1_red =255 |
|
208 expected1_green =0 |
|
209 expected1_blue =0 |
|
210 |
|
211 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0003-PromptMessage_command12] |
|
212 message =A red straight line is drawn; Press key '1' to confirm, if not press any key else! |
|
213 keyCode =49 |
|
214 |
|
215 |
|
216 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-NewL_command02] |
|
217 displaymode ={default_bitgdi, displaymode} |
|
218 screen_number ={default_bitgdi, screennumber} |
|
219 |
|
220 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-Activate_command04] |
|
221 device =fbsScrDev |
|
222 |
|
223 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-SetPenSize_command06] |
|
224 size_height =1 |
|
225 size_width =1 |
|
226 |
|
227 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-SetPenColor_command07] |
|
228 color_red =255 |
|
229 color_green =0 |
|
230 color_blue =0 |
|
231 |
|
232 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-DrawLine_command08] |
|
233 point1_x =80 |
|
234 point1_y =20 |
|
235 point2_x =80 |
|
236 point2_y =100 |
|
237 |
|
238 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-SetPenColor_command09] |
|
239 color_red =0 |
|
240 color_green =255 |
|
241 color_blue =0 |
|
242 |
|
243 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-DrawLine_command10] |
|
244 point1_x =20 |
|
245 point1_y =20 |
|
246 point2_x =60 |
|
247 point2_y =100 |
|
248 |
|
249 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-SetPenColor_command11] |
|
250 color_red =0 |
|
251 color_green =0 |
|
252 color_blue =255 |
|
253 |
|
254 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-DrawLine_command12] |
|
255 point1_x =120 |
|
256 point1_y =20 |
|
257 point2_x =100 |
|
258 point2_y =100 |
|
259 |
|
260 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-checkLineColor_command15] |
|
261 start1_x =80 |
|
262 start1_y =20 |
|
263 finish1_x =80 |
|
264 finish1_y =100 |
|
265 expected1_red =255 |
|
266 expected1_green =0 |
|
267 expected1_blue =0 |
|
268 start2_x =20 |
|
269 start2_y =20 |
|
270 finish2_x =60 |
|
271 finish2_y =100 |
|
272 expected2_red =0 |
|
273 expected2_green =255 |
|
274 expected2_blue =0 |
|
275 start3_x =120 |
|
276 start3_y =20 |
|
277 finish3_x =100 |
|
278 finish3_y =100 |
|
279 expected3_red =0 |
|
280 expected3_green =0 |
|
281 expected3_blue =255 |
|
282 |
|
283 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0004-PromptMessage_command16] |
|
284 message =Three (red, green, blue) lines are drawn; Press key '1' to confirm, if not press any key else! |
|
285 keyCode =49 |
|
286 |
|
287 |
|
288 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0005-NewL_command03] |
|
289 displaymode ={default_bitgdi, displaymode} |
|
290 screen_number ={default_bitgdi, screennumber} |
|
291 |
|
292 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0005-Activate_command04] |
|
293 device =fbsScrDev |
|
294 |
|
295 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0005-Load_command06] |
|
296 bitmap_id =0 |
|
297 file_name =\graphics\bitgdi\test_rwssprite_bitmap.mbm |
|
298 use_rfile =FALSE |
|
299 share_if_loaded =TRUE |
|
300 |
|
301 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0005-SetSizeInTwips_command07] |
|
302 height =1000 |
|
303 width =1000 |
|
304 |
|
305 |
|
306 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0005-DrawBitmap_command09] |
|
307 bitmap =fbsBitmap |
|
308 topleft_x =20 |
|
309 topleft_y =20 |
|
310 |
|
311 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0005-PromptMessage_command12] |
|
312 message =A bitmap is drawn; Press key '1' to confirm, if not press any key else! |
|
313 keyCode =49 |
|
314 |
|
315 |
|
316 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0006-NewL_command03] |
|
317 displaymode ={default_bitgdi, displaymode} |
|
318 screen_number ={default_bitgdi, screennumber} |
|
319 |
|
320 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0006-Activate_command04] |
|
321 device =fbsScrDev |
|
322 |
|
323 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0006-Load_command06] |
|
324 bitmap_id =0 |
|
325 file_name =\graphics\bitgdi\test_rwssprite_bitmap.mbm |
|
326 use_rfile =FALSE |
|
327 share_if_loaded =TRUE |
|
328 |
|
329 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0006-DrawBitmap_command08] |
|
330 bitmap =fbsBitmap |
|
331 destrect_top =0 |
|
332 destrect_left =0 |
|
333 destrect_bottom =100 |
|
334 destrect_right =120 |
|
335 |
|
336 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0006-DrawBitmap_command09] |
|
337 bitmap =fbsBitmap |
|
338 destrect_top =110 |
|
339 destrect_left =50 |
|
340 destrect_bottom =130 |
|
341 destrect_right =70 |
|
342 |
|
343 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0006-PromptMessage_command12] |
|
344 message =Two bitmaps are drawn; Press key '1' to confirm, if not press any key else! |
|
345 keyCode =49 |
|
346 |
|
347 |
|
348 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0007-NewL_command03] |
|
349 displaymode ={default_bitgdi, displaymode} |
|
350 screen_number ={default_bitgdi, screennumber} |
|
351 |
|
352 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0007-Activate_command04] |
|
353 device =fbsScrDev |
|
354 |
|
355 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0007-SetPenColor_command06] |
|
356 color_red =255 |
|
357 color_green =0 |
|
358 color_blue =0 |
|
359 |
|
360 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0007-GetNearestFontToDesignHeightInPixels_command07] |
|
361 font_height =30 |
|
362 font_name =Arial |
|
363 font =font |
|
364 |
|
365 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0007-UseFont_command08] |
|
366 font =font |
|
367 |
|
368 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0007-DrawText_command09] |
|
369 point_x =20 |
|
370 point_y =50 |
|
371 text =This is a test! |
|
372 |
|
373 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0007-PromptMessage_command12] |
|
374 message =A line of red text is drawn; Press key '1' to confirm, if not press any key else! |
|
375 keyCode =49 |
|
376 |
|
377 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0007-ReleaseFont_command14] |
|
378 font =font |
|
379 disown =false |
|
380 |
|
381 |
|
382 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-NewL_command03] |
|
383 displaymode ={default_bitgdi, displaymode} |
|
384 screen_number ={default_bitgdi, screennumber} |
|
385 |
|
386 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-Activate_command04] |
|
387 device =fbsScrDev |
|
388 |
|
389 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-SetPenColor_command06] |
|
390 color_red =0 |
|
391 color_green =0 |
|
392 color_blue =255 |
|
393 |
|
394 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-GetNearestFontToDesignHeightInPixels_command07] |
|
395 font_height =20 |
|
396 font_name =Arial |
|
397 font =font |
|
398 |
|
399 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-UseFont_command08] |
|
400 font =font |
|
401 |
|
402 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-DrawTextVertical_command09] |
|
403 point_x =20 |
|
404 point_y =20 |
|
405 text =This is a test! |
|
406 up =EFalse |
|
407 |
|
408 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-DrawTextVertical_command10] |
|
409 point_x =100 |
|
410 point_y =200 |
|
411 text =This is a test! |
|
412 up =ETrue |
|
413 |
|
414 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-PromptMessage_command12] |
|
415 message =Two lines of blue text are drawn vertically; Press key '1' to confirm, if not press any key else! |
|
416 keyCode =49 |
|
417 |
|
418 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0008-ReleaseFont_command14] |
|
419 font =font |
|
420 disown =false |
|
421 |
|
422 |
|
423 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0009-NewL_command03] |
|
424 displaymode ={default_bitgdi, displaymode} |
|
425 screen_number ={default_bitgdi, screennumber} |
|
426 |
|
427 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0009-Activate_command04] |
|
428 device =fbsScrDev |
|
429 |
|
430 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0009-SetBrushStyle_command06] |
|
431 brushstyle =ESolidBrush |
|
432 |
|
433 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0009-SetBrushColor_command07] |
|
434 color_red =0 |
|
435 color_green =255 |
|
436 color_blue =0 |
|
437 |
|
438 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0009-DrawEllipse_command08] |
|
439 rect_top =20 |
|
440 rect_left =20 |
|
441 rect_bottom =100 |
|
442 rect_right =160 |
|
443 |
|
444 [GRAPHICS-BITGDI-FbsBitGc-PublicApi-manual-0009-PromptMessage_command12] |
|
445 message =An green ellipse is drawn; Press key '1' to confirm, if not press any key else! |
|
446 keyCode =49 |
|
447 |