1488 references to ToArgb
System.ComponentModel.TypeConverter (2)
src\libraries\Common\src\System\Drawing\ColorConverterCommon.cs (2)
77
int targetARGB = color.
ToArgb
();
81
if (c.
ToArgb
() == targetARGB)
System.Drawing.Common.Tests (1456)
Helpers.cs (1)
36
Color expectedColor = Color.FromArgb(colors[y][x].
ToArgb
());
mono\System.Drawing.Imaging\BmpCodecTests.cs (146)
67
Assert.Equal(-1, bmp.GetPixel(0, 0).
ToArgb
());
68
Assert.Equal(-4144960, bmp.GetPixel(0, 32).
ToArgb
());
69
Assert.Equal(-1, bmp.GetPixel(0, 64).
ToArgb
());
70
Assert.Equal(-1, bmp.GetPixel(0, 96).
ToArgb
());
71
Assert.Equal(-4144960, bmp.GetPixel(0, 128).
ToArgb
());
72
Assert.Equal(-1, bmp.GetPixel(0, 160).
ToArgb
());
73
Assert.Equal(-4144960, bmp.GetPixel(32, 0).
ToArgb
());
74
Assert.Equal(-4144960, bmp.GetPixel(32, 32).
ToArgb
());
75
Assert.Equal(-1, bmp.GetPixel(32, 64).
ToArgb
());
76
Assert.Equal(-4144960, bmp.GetPixel(32, 96).
ToArgb
());
77
Assert.Equal(-4144960, bmp.GetPixel(32, 128).
ToArgb
());
78
Assert.Equal(-8355712, bmp.GetPixel(32, 160).
ToArgb
());
79
Assert.Equal(-16777216, bmp.GetPixel(64, 0).
ToArgb
());
80
Assert.Equal(-8355712, bmp.GetPixel(64, 32).
ToArgb
());
81
Assert.Equal(-1, bmp.GetPixel(64, 64).
ToArgb
());
82
Assert.Equal(-16777216, bmp.GetPixel(64, 96).
ToArgb
());
83
Assert.Equal(-8355840, bmp.GetPixel(64, 128).
ToArgb
());
84
Assert.Equal(-16777216, bmp.GetPixel(64, 160).
ToArgb
());
85
Assert.Equal(-4144960, bmp.GetPixel(96, 0).
ToArgb
());
86
Assert.Equal(-8355712, bmp.GetPixel(96, 32).
ToArgb
());
87
Assert.Equal(-16777216, bmp.GetPixel(96, 64).
ToArgb
());
88
Assert.Equal(-4144960, bmp.GetPixel(96, 96).
ToArgb
());
89
Assert.Equal(-8355840, bmp.GetPixel(96, 128).
ToArgb
());
90
Assert.Equal(-16777216, bmp.GetPixel(96, 160).
ToArgb
());
91
Assert.Equal(-1, bmp.GetPixel(128, 0).
ToArgb
());
92
Assert.Equal(-8355712, bmp.GetPixel(128, 32).
ToArgb
());
93
Assert.Equal(-1, bmp.GetPixel(128, 64).
ToArgb
());
94
Assert.Equal(-4144960, bmp.GetPixel(128, 96).
ToArgb
());
95
Assert.Equal(-16777216, bmp.GetPixel(128, 128).
ToArgb
());
96
Assert.Equal(-4144960, bmp.GetPixel(128, 160).
ToArgb
());
97
Assert.Equal(-4144960, bmp.GetPixel(160, 0).
ToArgb
());
98
Assert.Equal(-1, bmp.GetPixel(160, 32).
ToArgb
());
99
Assert.Equal(-4144960, bmp.GetPixel(160, 64).
ToArgb
());
100
Assert.Equal(-4144960, bmp.GetPixel(160, 96).
ToArgb
());
101
Assert.Equal(-4144960, bmp.GetPixel(160, 128).
ToArgb
());
102
Assert.Equal(-8355712, bmp.GetPixel(160, 160).
ToArgb
());
133
Assert.Equal(-1040, bmp.GetPixel(0, 0).
ToArgb
());
134
Assert.Equal(-4137792, bmp.GetPixel(0, 32).
ToArgb
());
135
Assert.Equal(-1040, bmp.GetPixel(0, 64).
ToArgb
());
136
Assert.Equal(-1040, bmp.GetPixel(0, 96).
ToArgb
());
137
Assert.Equal(-4137792, bmp.GetPixel(0, 128).
ToArgb
());
138
Assert.Equal(-1040, bmp.GetPixel(0, 160).
ToArgb
());
139
Assert.Equal(-4137792, bmp.GetPixel(32, 0).
ToArgb
());
140
Assert.Equal(-4137792, bmp.GetPixel(32, 32).
ToArgb
());
141
Assert.Equal(-1040, bmp.GetPixel(32, 64).
ToArgb
());
142
Assert.Equal(-4144960, bmp.GetPixel(32, 96).
ToArgb
());
143
Assert.Equal(-6250304, bmp.GetPixel(32, 128).
ToArgb
());
144
Assert.Equal(-8355712, bmp.GetPixel(32, 160).
ToArgb
());
145
Assert.Equal(-12566464, bmp.GetPixel(64, 0).
ToArgb
());
146
Assert.Equal(-6258560, bmp.GetPixel(64, 32).
ToArgb
());
147
Assert.Equal(-1040, bmp.GetPixel(64, 64).
ToArgb
());
148
Assert.Equal(-16777216, bmp.GetPixel(64, 96).
ToArgb
());
149
Assert.Equal(-8355776, bmp.GetPixel(64, 128).
ToArgb
());
150
Assert.Equal(-16777216, bmp.GetPixel(64, 160).
ToArgb
());
151
Assert.Equal(-4137792, bmp.GetPixel(96, 0).
ToArgb
());
152
Assert.Equal(-8355712, bmp.GetPixel(96, 32).
ToArgb
());
153
Assert.Equal(-12566464, bmp.GetPixel(96, 64).
ToArgb
());
154
Assert.Equal(-2039680, bmp.GetPixel(96, 96).
ToArgb
());
155
Assert.Equal(-4153280, bmp.GetPixel(96, 128).
ToArgb
());
156
Assert.Equal(-12566464, bmp.GetPixel(96, 160).
ToArgb
());
157
Assert.Equal(-1040, bmp.GetPixel(128, 0).
ToArgb
());
158
Assert.Equal(-6258560, bmp.GetPixel(128, 32).
ToArgb
());
159
Assert.Equal(-1040, bmp.GetPixel(128, 64).
ToArgb
());
160
Assert.Equal(-4144960, bmp.GetPixel(128, 96).
ToArgb
());
161
Assert.Equal(-12566464, bmp.GetPixel(128, 128).
ToArgb
());
162
Assert.Equal(-4144960, bmp.GetPixel(128, 160).
ToArgb
());
163
Assert.Equal(-4137792, bmp.GetPixel(160, 0).
ToArgb
());
164
Assert.Equal(-1040, bmp.GetPixel(160, 32).
ToArgb
());
165
Assert.Equal(-4144960, bmp.GetPixel(160, 64).
ToArgb
());
166
Assert.Equal(-4137792, bmp.GetPixel(160, 96).
ToArgb
());
167
Assert.Equal(-4137792, bmp.GetPixel(160, 128).
ToArgb
());
168
Assert.Equal(-8355712, bmp.GetPixel(160, 160).
ToArgb
());
199
Assert.Equal(-1645353, bmp.GetPixel(0, 32).
ToArgb
());
200
Assert.Equal(-461332, bmp.GetPixel(0, 64).
ToArgb
());
201
Assert.Equal(-330005, bmp.GetPixel(0, 96).
ToArgb
());
202
Assert.Equal(-2237489, bmp.GetPixel(0, 128).
ToArgb
());
203
Assert.Equal(-1251105, bmp.GetPixel(0, 160).
ToArgb
());
204
Assert.Equal(-3024947, bmp.GetPixel(32, 0).
ToArgb
());
205
Assert.Equal(-2699070, bmp.GetPixel(32, 32).
ToArgb
());
206
Assert.Equal(-2366734, bmp.GetPixel(32, 64).
ToArgb
());
207
Assert.Equal(-4538413, bmp.GetPixel(32, 96).
ToArgb
());
208
Assert.Equal(-6116681, bmp.GetPixel(32, 128).
ToArgb
());
209
Assert.Equal(-7369076, bmp.GetPixel(32, 160).
ToArgb
());
210
Assert.Equal(-13024729, bmp.GetPixel(64, 0).
ToArgb
());
211
Assert.Equal(-7174020, bmp.GetPixel(64, 32).
ToArgb
());
212
Assert.Equal(-51, bmp.GetPixel(64, 64).
ToArgb
());
213
Assert.Equal(-16053503, bmp.GetPixel(64, 96).
ToArgb
());
214
Assert.Equal(-8224431, bmp.GetPixel(64, 128).
ToArgb
());
215
Assert.Equal(-16579326, bmp.GetPixel(64, 160).
ToArgb
());
216
Assert.Equal(-2502457, bmp.GetPixel(96, 0).
ToArgb
());
217
Assert.Equal(-9078395, bmp.GetPixel(96, 32).
ToArgb
());
218
Assert.Equal(-12696508, bmp.GetPixel(96, 64).
ToArgb
());
219
Assert.Equal(-70772, bmp.GetPixel(96, 96).
ToArgb
());
220
Assert.Equal(-4346279, bmp.GetPixel(96, 128).
ToArgb
());
221
Assert.Equal(-11583193, bmp.GetPixel(96, 160).
ToArgb
());
222
Assert.Equal(-724763, bmp.GetPixel(128, 0).
ToArgb
());
223
Assert.Equal(-7238268, bmp.GetPixel(128, 32).
ToArgb
());
224
Assert.Equal(-2169612, bmp.GetPixel(128, 64).
ToArgb
());
225
Assert.Equal(-3683883, bmp.GetPixel(128, 96).
ToArgb
());
226
Assert.Equal(-12892867, bmp.GetPixel(128, 128).
ToArgb
());
227
Assert.Equal(-3750464, bmp.GetPixel(128, 160).
ToArgb
());
228
Assert.Equal(-3222844, bmp.GetPixel(160, 0).
ToArgb
());
229
Assert.Equal(-65806, bmp.GetPixel(160, 32).
ToArgb
());
230
Assert.Equal(-2961726, bmp.GetPixel(160, 64).
ToArgb
());
231
Assert.Equal(-2435382, bmp.GetPixel(160, 96).
ToArgb
());
232
Assert.Equal(-2501944, bmp.GetPixel(160, 128).
ToArgb
());
233
Assert.Equal(-9211799, bmp.GetPixel(160, 160).
ToArgb
());
241
Assert.Equal(-3355456, bmp.GetPixel(163, 1).
ToArgb
());
386
Assert.Equal(-1579559, bmp.GetPixel(0, 0).
ToArgb
());
387
Assert.Equal(-1645353, bmp.GetPixel(0, 32).
ToArgb
());
388
Assert.Equal(-461332, bmp.GetPixel(0, 64).
ToArgb
());
389
Assert.Equal(-330005, bmp.GetPixel(0, 96).
ToArgb
());
390
Assert.Equal(-2237489, bmp.GetPixel(0, 128).
ToArgb
());
391
Assert.Equal(-1251105, bmp.GetPixel(0, 160).
ToArgb
());
392
Assert.Equal(-3024947, bmp.GetPixel(32, 0).
ToArgb
());
393
Assert.Equal(-2699070, bmp.GetPixel(32, 32).
ToArgb
());
394
Assert.Equal(-2366734, bmp.GetPixel(32, 64).
ToArgb
());
395
Assert.Equal(-4538413, bmp.GetPixel(32, 96).
ToArgb
());
396
Assert.Equal(-6116681, bmp.GetPixel(32, 128).
ToArgb
());
397
Assert.Equal(-7369076, bmp.GetPixel(32, 160).
ToArgb
());
398
Assert.Equal(-13024729, bmp.GetPixel(64, 0).
ToArgb
());
399
Assert.Equal(-7174020, bmp.GetPixel(64, 32).
ToArgb
());
400
Assert.Equal(-51, bmp.GetPixel(64, 64).
ToArgb
());
401
Assert.Equal(-16053503, bmp.GetPixel(64, 96).
ToArgb
());
402
Assert.Equal(-8224431, bmp.GetPixel(64, 128).
ToArgb
());
403
Assert.Equal(-16579326, bmp.GetPixel(64, 160).
ToArgb
());
404
Assert.Equal(-2502457, bmp.GetPixel(96, 0).
ToArgb
());
405
Assert.Equal(-9078395, bmp.GetPixel(96, 32).
ToArgb
());
406
Assert.Equal(-12696508, bmp.GetPixel(96, 64).
ToArgb
());
407
Assert.Equal(-70772, bmp.GetPixel(96, 96).
ToArgb
());
408
Assert.Equal(-4346279, bmp.GetPixel(96, 128).
ToArgb
());
409
Assert.Equal(-11583193, bmp.GetPixel(96, 160).
ToArgb
());
410
Assert.Equal(-724763, bmp.GetPixel(128, 0).
ToArgb
());
411
Assert.Equal(-7238268, bmp.GetPixel(128, 32).
ToArgb
());
412
Assert.Equal(-2169612, bmp.GetPixel(128, 64).
ToArgb
());
413
Assert.Equal(-3683883, bmp.GetPixel(128, 96).
ToArgb
());
414
Assert.Equal(-12892867, bmp.GetPixel(128, 128).
ToArgb
());
415
Assert.Equal(-3750464, bmp.GetPixel(128, 160).
ToArgb
());
416
Assert.Equal(-3222844, bmp.GetPixel(160, 0).
ToArgb
());
417
Assert.Equal(-65806, bmp.GetPixel(160, 32).
ToArgb
());
418
Assert.Equal(-2961726, bmp.GetPixel(160, 64).
ToArgb
());
419
Assert.Equal(-2435382, bmp.GetPixel(160, 96).
ToArgb
());
420
Assert.Equal(-2501944, bmp.GetPixel(160, 128).
ToArgb
());
421
Assert.Equal(-9211799, bmp.GetPixel(160, 160).
ToArgb
());
510
Assert.Equal(-16777216, bmp.GetPixel(12, 21).
ToArgb
());
511
Assert.Equal(-1, bmp.GetPixel(21, 37).
ToArgb
());
mono\System.Drawing.Imaging\GifCodecTests.cs (16)
74
Assert.Equal(-10644802, bmp.GetPixel(0, 0).
ToArgb
());
75
Assert.Equal(-12630705, bmp.GetPixel(0, 32).
ToArgb
());
76
Assert.Equal(-14537409, bmp.GetPixel(0, 64).
ToArgb
());
77
Assert.Equal(-14672099, bmp.GetPixel(0, 96).
ToArgb
());
78
Assert.Equal(-526863, bmp.GetPixel(32, 0).
ToArgb
());
79
Assert.Equal(-10263970, bmp.GetPixel(32, 32).
ToArgb
());
80
Assert.Equal(-10461317, bmp.GetPixel(32, 64).
ToArgb
());
81
Assert.Equal(-9722415, bmp.GetPixel(32, 96).
ToArgb
());
82
Assert.Equal(-131076, bmp.GetPixel(64, 0).
ToArgb
());
83
Assert.Equal(-2702435, bmp.GetPixel(64, 32).
ToArgb
());
84
Assert.Equal(-6325922, bmp.GetPixel(64, 64).
ToArgb
());
85
Assert.Equal(-12411924, bmp.GetPixel(64, 96).
ToArgb
());
86
Assert.Equal(-131076, bmp.GetPixel(96, 0).
ToArgb
());
87
Assert.Equal(-7766649, bmp.GetPixel(96, 32).
ToArgb
());
88
Assert.Equal(-11512986, bmp.GetPixel(96, 64).
ToArgb
());
89
Assert.Equal(-12616230, bmp.GetPixel(96, 96).
ToArgb
());
mono\System.Drawing.Imaging\IconCodecTests.cs (791)
109
Assert.Equal(0, bmp.GetPixel(0, 0).
ToArgb
());
110
Assert.Equal(0, bmp.GetPixel(0, 4).
ToArgb
());
111
Assert.Equal(0, bmp.GetPixel(0, 8).
ToArgb
());
112
Assert.Equal(0, bmp.GetPixel(0, 12).
ToArgb
());
113
Assert.Equal(0, bmp.GetPixel(4, 0).
ToArgb
());
114
Assert.Equal(-256, bmp.GetPixel(4, 4).
ToArgb
());
115
Assert.Equal(-256, bmp.GetPixel(4, 8).
ToArgb
());
116
Assert.Equal(-8355840, bmp.GetPixel(4, 12).
ToArgb
());
117
Assert.Equal(0, bmp.GetPixel(8, 0).
ToArgb
());
118
Assert.Equal(-256, bmp.GetPixel(8, 4).
ToArgb
());
119
Assert.Equal(-256, bmp.GetPixel(8, 8).
ToArgb
());
120
Assert.Equal(-256, bmp.GetPixel(8, 12).
ToArgb
());
121
Assert.Equal(0, bmp.GetPixel(12, 0).
ToArgb
());
122
Assert.Equal(0, bmp.GetPixel(12, 4).
ToArgb
());
123
Assert.Equal(-8355840, bmp.GetPixel(12, 8).
ToArgb
());
124
Assert.Equal(0, bmp.GetPixel(12, 12).
ToArgb
());
257
Assert.Equal(0, bmp.GetPixel(0, 0).
ToArgb
());
258
Assert.Equal(-8388608, bmp.GetPixel(0, 4).
ToArgb
());
259
Assert.Equal(0, bmp.GetPixel(0, 8).
ToArgb
());
260
Assert.Equal(0, bmp.GetPixel(0, 12).
ToArgb
());
261
Assert.Equal(0, bmp.GetPixel(0, 16).
ToArgb
());
262
Assert.Equal(0, bmp.GetPixel(0, 20).
ToArgb
());
263
Assert.Equal(0, bmp.GetPixel(0, 24).
ToArgb
());
264
Assert.Equal(0, bmp.GetPixel(0, 28).
ToArgb
());
265
Assert.Equal(0, bmp.GetPixel(4, 0).
ToArgb
());
266
Assert.Equal(0, bmp.GetPixel(4, 4).
ToArgb
());
267
Assert.Equal(0, bmp.GetPixel(4, 8).
ToArgb
());
268
Assert.Equal(0, bmp.GetPixel(4, 12).
ToArgb
());
269
Assert.Equal(0, bmp.GetPixel(4, 16).
ToArgb
());
270
Assert.Equal(0, bmp.GetPixel(4, 20).
ToArgb
());
271
Assert.Equal(0, bmp.GetPixel(4, 24).
ToArgb
());
272
Assert.Equal(0, bmp.GetPixel(4, 28).
ToArgb
());
273
Assert.Equal(0, bmp.GetPixel(8, 0).
ToArgb
());
274
Assert.Equal(0, bmp.GetPixel(8, 4).
ToArgb
());
275
Assert.Equal(0, bmp.GetPixel(8, 8).
ToArgb
());
276
Assert.Equal(0, bmp.GetPixel(8, 12).
ToArgb
());
277
Assert.Equal(0, bmp.GetPixel(8, 16).
ToArgb
());
278
Assert.Equal(-65536, bmp.GetPixel(8, 20).
ToArgb
());
279
Assert.Equal(0, bmp.GetPixel(8, 24).
ToArgb
());
280
Assert.Equal(0, bmp.GetPixel(8, 28).
ToArgb
());
281
Assert.Equal(0, bmp.GetPixel(12, 0).
ToArgb
());
282
Assert.Equal(0, bmp.GetPixel(12, 4).
ToArgb
());
283
Assert.Equal(-8388608, bmp.GetPixel(12, 8).
ToArgb
());
284
Assert.Equal(0, bmp.GetPixel(12, 12).
ToArgb
());
285
Assert.Equal(0, bmp.GetPixel(12, 16).
ToArgb
());
286
Assert.Equal(-65536, bmp.GetPixel(12, 20).
ToArgb
());
287
Assert.Equal(0, bmp.GetPixel(12, 24).
ToArgb
());
288
Assert.Equal(0, bmp.GetPixel(12, 28).
ToArgb
());
289
Assert.Equal(0, bmp.GetPixel(16, 0).
ToArgb
());
290
Assert.Equal(0, bmp.GetPixel(16, 4).
ToArgb
());
291
Assert.Equal(0, bmp.GetPixel(16, 8).
ToArgb
());
292
Assert.Equal(0, bmp.GetPixel(16, 12).
ToArgb
());
293
Assert.Equal(0, bmp.GetPixel(16, 16).
ToArgb
());
294
Assert.Equal(0, bmp.GetPixel(16, 20).
ToArgb
());
295
Assert.Equal(-65536, bmp.GetPixel(16, 24).
ToArgb
());
296
Assert.Equal(0, bmp.GetPixel(16, 28).
ToArgb
());
297
Assert.Equal(0, bmp.GetPixel(20, 0).
ToArgb
());
298
Assert.Equal(0, bmp.GetPixel(20, 4).
ToArgb
());
299
Assert.Equal(-8388608, bmp.GetPixel(20, 8).
ToArgb
());
300
Assert.Equal(0, bmp.GetPixel(20, 12).
ToArgb
());
301
Assert.Equal(0, bmp.GetPixel(20, 16).
ToArgb
());
302
Assert.Equal(0, bmp.GetPixel(20, 20).
ToArgb
());
303
Assert.Equal(0, bmp.GetPixel(20, 24).
ToArgb
());
304
Assert.Equal(0, bmp.GetPixel(20, 28).
ToArgb
());
305
Assert.Equal(0, bmp.GetPixel(24, 0).
ToArgb
());
306
Assert.Equal(0, bmp.GetPixel(24, 4).
ToArgb
());
307
Assert.Equal(-16777216, bmp.GetPixel(24, 8).
ToArgb
());
308
Assert.Equal(0, bmp.GetPixel(24, 12).
ToArgb
());
309
Assert.Equal(0, bmp.GetPixel(24, 16).
ToArgb
());
310
Assert.Equal(0, bmp.GetPixel(24, 20).
ToArgb
());
311
Assert.Equal(0, bmp.GetPixel(24, 24).
ToArgb
());
312
Assert.Equal(0, bmp.GetPixel(24, 28).
ToArgb
());
313
Assert.Equal(0, bmp.GetPixel(28, 0).
ToArgb
());
314
Assert.Equal(0, bmp.GetPixel(28, 4).
ToArgb
());
315
Assert.Equal(0, bmp.GetPixel(28, 8).
ToArgb
());
316
Assert.Equal(0, bmp.GetPixel(28, 12).
ToArgb
());
317
Assert.Equal(0, bmp.GetPixel(28, 16).
ToArgb
());
318
Assert.Equal(0, bmp.GetPixel(28, 20).
ToArgb
());
319
Assert.Equal(-8388608, bmp.GetPixel(28, 24).
ToArgb
());
320
Assert.Equal(0, bmp.GetPixel(28, 28).
ToArgb
());
462
Assert.Equal(-16777216, bmp.GetPixel(0, 0).
ToArgb
());
463
Assert.Equal(-16777216, bmp.GetPixel(0, 4).
ToArgb
());
464
Assert.Equal(-16777216, bmp.GetPixel(0, 8).
ToArgb
());
465
Assert.Equal(-16777216, bmp.GetPixel(0, 12).
ToArgb
());
466
Assert.Equal(-16777216, bmp.GetPixel(0, 16).
ToArgb
());
467
Assert.Equal(-16777216, bmp.GetPixel(0, 20).
ToArgb
());
468
Assert.Equal(-16777216, bmp.GetPixel(0, 24).
ToArgb
());
469
Assert.Equal(-16777216, bmp.GetPixel(0, 28).
ToArgb
());
470
Assert.Equal(-16777216, bmp.GetPixel(0, 32).
ToArgb
());
471
Assert.Equal(-16777216, bmp.GetPixel(0, 36).
ToArgb
());
472
Assert.Equal(-16777216, bmp.GetPixel(0, 40).
ToArgb
());
473
Assert.Equal(-16777216, bmp.GetPixel(0, 44).
ToArgb
());
474
Assert.Equal(-16777216, bmp.GetPixel(4, 0).
ToArgb
());
475
Assert.Equal(0, bmp.GetPixel(4, 4).
ToArgb
());
476
Assert.Equal(0, bmp.GetPixel(4, 8).
ToArgb
());
477
Assert.Equal(0, bmp.GetPixel(4, 12).
ToArgb
());
478
Assert.Equal(0, bmp.GetPixel(4, 16).
ToArgb
());
479
Assert.Equal(0, bmp.GetPixel(4, 20).
ToArgb
());
480
Assert.Equal(0, bmp.GetPixel(4, 24).
ToArgb
());
481
Assert.Equal(0, bmp.GetPixel(4, 28).
ToArgb
());
482
Assert.Equal(0, bmp.GetPixel(4, 32).
ToArgb
());
483
Assert.Equal(0, bmp.GetPixel(4, 36).
ToArgb
());
484
Assert.Equal(0, bmp.GetPixel(4, 40).
ToArgb
());
485
Assert.Equal(-1, bmp.GetPixel(4, 44).
ToArgb
());
486
Assert.Equal(-16777216, bmp.GetPixel(8, 0).
ToArgb
());
487
Assert.Equal(0, bmp.GetPixel(8, 4).
ToArgb
());
488
Assert.Equal(-16777216, bmp.GetPixel(8, 8).
ToArgb
());
489
Assert.Equal(-16777216, bmp.GetPixel(8, 12).
ToArgb
());
490
Assert.Equal(-16777216, bmp.GetPixel(8, 16).
ToArgb
());
491
Assert.Equal(-16777216, bmp.GetPixel(8, 20).
ToArgb
());
492
Assert.Equal(-16777216, bmp.GetPixel(8, 24).
ToArgb
());
493
Assert.Equal(-16777216, bmp.GetPixel(8, 28).
ToArgb
());
494
Assert.Equal(-16777216, bmp.GetPixel(8, 32).
ToArgb
());
495
Assert.Equal(-16777216, bmp.GetPixel(8, 36).
ToArgb
());
496
Assert.Equal(-16777216, bmp.GetPixel(8, 40).
ToArgb
());
497
Assert.Equal(-1, bmp.GetPixel(8, 44).
ToArgb
());
498
Assert.Equal(-16777216, bmp.GetPixel(12, 0).
ToArgb
());
499
Assert.Equal(0, bmp.GetPixel(12, 4).
ToArgb
());
500
Assert.Equal(-16777216, bmp.GetPixel(12, 8).
ToArgb
());
501
Assert.Equal(-1, bmp.GetPixel(12, 12).
ToArgb
());
502
Assert.Equal(-1, bmp.GetPixel(12, 16).
ToArgb
());
503
Assert.Equal(-1, bmp.GetPixel(12, 20).
ToArgb
());
504
Assert.Equal(-1, bmp.GetPixel(12, 24).
ToArgb
());
505
Assert.Equal(-1, bmp.GetPixel(12, 28).
ToArgb
());
506
Assert.Equal(-1, bmp.GetPixel(12, 32).
ToArgb
());
507
Assert.Equal(0, bmp.GetPixel(12, 36).
ToArgb
());
508
Assert.Equal(-16777216, bmp.GetPixel(12, 40).
ToArgb
());
509
Assert.Equal(-1, bmp.GetPixel(12, 44).
ToArgb
());
510
Assert.Equal(-16777216, bmp.GetPixel(16, 0).
ToArgb
());
511
Assert.Equal(0, bmp.GetPixel(16, 4).
ToArgb
());
512
Assert.Equal(-16777216, bmp.GetPixel(16, 8).
ToArgb
());
513
Assert.Equal(-1, bmp.GetPixel(16, 12).
ToArgb
());
514
Assert.Equal(0, bmp.GetPixel(16, 16).
ToArgb
());
515
Assert.Equal(0, bmp.GetPixel(16, 20).
ToArgb
());
516
Assert.Equal(0, bmp.GetPixel(16, 24).
ToArgb
());
517
Assert.Equal(0, bmp.GetPixel(16, 28).
ToArgb
());
518
Assert.Equal(-1, bmp.GetPixel(16, 32).
ToArgb
());
519
Assert.Equal(0, bmp.GetPixel(16, 36).
ToArgb
());
520
Assert.Equal(-16777216, bmp.GetPixel(16, 40).
ToArgb
());
521
Assert.Equal(-1, bmp.GetPixel(16, 44).
ToArgb
());
522
Assert.Equal(-16777216, bmp.GetPixel(20, 0).
ToArgb
());
523
Assert.Equal(0, bmp.GetPixel(20, 4).
ToArgb
());
524
Assert.Equal(-16777216, bmp.GetPixel(20, 8).
ToArgb
());
525
Assert.Equal(-1, bmp.GetPixel(20, 12).
ToArgb
());
526
Assert.Equal(0, bmp.GetPixel(20, 16).
ToArgb
());
527
Assert.Equal(-16777216, bmp.GetPixel(20, 20).
ToArgb
());
528
Assert.Equal(-16777216, bmp.GetPixel(20, 24).
ToArgb
());
529
Assert.Equal(0, bmp.GetPixel(20, 28).
ToArgb
());
530
Assert.Equal(-1, bmp.GetPixel(20, 32).
ToArgb
());
531
Assert.Equal(0, bmp.GetPixel(20, 36).
ToArgb
());
532
Assert.Equal(-16777216, bmp.GetPixel(20, 40).
ToArgb
());
533
Assert.Equal(-1, bmp.GetPixel(20, 44).
ToArgb
());
534
Assert.Equal(-16777216, bmp.GetPixel(24, 0).
ToArgb
());
535
Assert.Equal(0, bmp.GetPixel(24, 4).
ToArgb
());
536
Assert.Equal(-16777216, bmp.GetPixel(24, 8).
ToArgb
());
537
Assert.Equal(-1, bmp.GetPixel(24, 12).
ToArgb
());
538
Assert.Equal(0, bmp.GetPixel(24, 16).
ToArgb
());
684
Assert.Equal(-65383, bmp.GetPixel(0, 0).
ToArgb
());
685
Assert.Equal(-65383, bmp.GetPixel(0, 4).
ToArgb
());
686
Assert.Equal(-65383, bmp.GetPixel(0, 8).
ToArgb
());
687
Assert.Equal(-65383, bmp.GetPixel(0, 12).
ToArgb
());
688
Assert.Equal(-65383, bmp.GetPixel(0, 16).
ToArgb
());
689
Assert.Equal(-65383, bmp.GetPixel(0, 20).
ToArgb
());
690
Assert.Equal(-65383, bmp.GetPixel(0, 24).
ToArgb
());
691
Assert.Equal(-65383, bmp.GetPixel(0, 28).
ToArgb
());
692
Assert.Equal(-65383, bmp.GetPixel(0, 32).
ToArgb
());
693
Assert.Equal(-65383, bmp.GetPixel(0, 36).
ToArgb
());
694
Assert.Equal(-65383, bmp.GetPixel(0, 40).
ToArgb
());
695
Assert.Equal(-65383, bmp.GetPixel(0, 44).
ToArgb
());
696
Assert.Equal(-65383, bmp.GetPixel(0, 48).
ToArgb
());
697
Assert.Equal(-65383, bmp.GetPixel(0, 52).
ToArgb
());
698
Assert.Equal(-65383, bmp.GetPixel(0, 56).
ToArgb
());
699
Assert.Equal(-65383, bmp.GetPixel(0, 60).
ToArgb
());
700
Assert.Equal(-65383, bmp.GetPixel(4, 0).
ToArgb
());
701
Assert.Equal(-10079335, bmp.GetPixel(4, 4).
ToArgb
());
702
Assert.Equal(-10079335, bmp.GetPixel(4, 8).
ToArgb
());
703
Assert.Equal(-10079335, bmp.GetPixel(4, 12).
ToArgb
());
704
Assert.Equal(-10079335, bmp.GetPixel(4, 16).
ToArgb
());
705
Assert.Equal(-10079335, bmp.GetPixel(4, 20).
ToArgb
());
706
Assert.Equal(-10079335, bmp.GetPixel(4, 24).
ToArgb
());
707
Assert.Equal(-10079335, bmp.GetPixel(4, 28).
ToArgb
());
708
Assert.Equal(-10079335, bmp.GetPixel(4, 32).
ToArgb
());
709
Assert.Equal(-10079335, bmp.GetPixel(4, 36).
ToArgb
());
710
Assert.Equal(-10079335, bmp.GetPixel(4, 40).
ToArgb
());
711
Assert.Equal(-10079335, bmp.GetPixel(4, 44).
ToArgb
());
712
Assert.Equal(-10079335, bmp.GetPixel(4, 48).
ToArgb
());
713
Assert.Equal(-10079335, bmp.GetPixel(4, 52).
ToArgb
());
714
Assert.Equal(-10079335, bmp.GetPixel(4, 56).
ToArgb
());
715
Assert.Equal(0, bmp.GetPixel(4, 60).
ToArgb
());
716
Assert.Equal(-65383, bmp.GetPixel(8, 0).
ToArgb
());
717
Assert.Equal(-10079335, bmp.GetPixel(8, 4).
ToArgb
());
718
Assert.Equal(-3342490, bmp.GetPixel(8, 8).
ToArgb
());
719
Assert.Equal(-3342490, bmp.GetPixel(8, 12).
ToArgb
());
720
Assert.Equal(-3342490, bmp.GetPixel(8, 16).
ToArgb
());
721
Assert.Equal(-3342490, bmp.GetPixel(8, 20).
ToArgb
());
722
Assert.Equal(-3342490, bmp.GetPixel(8, 24).
ToArgb
());
723
Assert.Equal(-3342490, bmp.GetPixel(8, 28).
ToArgb
());
724
Assert.Equal(-3342490, bmp.GetPixel(8, 32).
ToArgb
());
725
Assert.Equal(-3342490, bmp.GetPixel(8, 36).
ToArgb
());
726
Assert.Equal(-3342490, bmp.GetPixel(8, 40).
ToArgb
());
727
Assert.Equal(-3342490, bmp.GetPixel(8, 44).
ToArgb
());
728
Assert.Equal(-3342490, bmp.GetPixel(8, 48).
ToArgb
());
729
Assert.Equal(-3342490, bmp.GetPixel(8, 52).
ToArgb
());
730
Assert.Equal(0, bmp.GetPixel(8, 56).
ToArgb
());
731
Assert.Equal(0, bmp.GetPixel(8, 60).
ToArgb
());
732
Assert.Equal(-65383, bmp.GetPixel(12, 0).
ToArgb
());
733
Assert.Equal(-10079335, bmp.GetPixel(12, 4).
ToArgb
());
734
Assert.Equal(-3342490, bmp.GetPixel(12, 8).
ToArgb
());
735
Assert.Equal(-33664, bmp.GetPixel(12, 12).
ToArgb
());
736
Assert.Equal(-33664, bmp.GetPixel(12, 16).
ToArgb
());
737
Assert.Equal(-33664, bmp.GetPixel(12, 20).
ToArgb
());
738
Assert.Equal(-33664, bmp.GetPixel(12, 24).
ToArgb
());
739
Assert.Equal(-33664, bmp.GetPixel(12, 28).
ToArgb
());
740
Assert.Equal(-33664, bmp.GetPixel(12, 32).
ToArgb
());
741
Assert.Equal(-33664, bmp.GetPixel(12, 36).
ToArgb
());
742
Assert.Equal(-33664, bmp.GetPixel(12, 40).
ToArgb
());
942
Assert.Equal(0, bmp.GetPixel(0, 0).
ToArgb
());
943
Assert.Equal(0, bmp.GetPixel(0, 4).
ToArgb
());
944
Assert.Equal(0, bmp.GetPixel(0, 8).
ToArgb
());
945
Assert.Equal(0, bmp.GetPixel(0, 12).
ToArgb
());
946
Assert.Equal(0, bmp.GetPixel(0, 16).
ToArgb
());
947
Assert.Equal(0, bmp.GetPixel(0, 20).
ToArgb
());
948
Assert.Equal(0, bmp.GetPixel(0, 24).
ToArgb
());
949
Assert.Equal(0, bmp.GetPixel(0, 28).
ToArgb
());
950
Assert.Equal(0, bmp.GetPixel(0, 32).
ToArgb
());
951
Assert.Equal(0, bmp.GetPixel(0, 36).
ToArgb
());
952
Assert.Equal(0, bmp.GetPixel(0, 40).
ToArgb
());
953
Assert.Equal(0, bmp.GetPixel(0, 44).
ToArgb
());
954
Assert.Equal(0, bmp.GetPixel(0, 48).
ToArgb
());
955
Assert.Equal(0, bmp.GetPixel(0, 52).
ToArgb
());
956
Assert.Equal(0, bmp.GetPixel(0, 56).
ToArgb
());
957
Assert.Equal(0, bmp.GetPixel(0, 60).
ToArgb
());
958
Assert.Equal(0, bmp.GetPixel(0, 64).
ToArgb
());
959
Assert.Equal(-14935012, bmp.GetPixel(0, 68).
ToArgb
());
960
Assert.Equal(0, bmp.GetPixel(0, 72).
ToArgb
());
961
Assert.Equal(0, bmp.GetPixel(0, 76).
ToArgb
());
962
Assert.Equal(0, bmp.GetPixel(0, 80).
ToArgb
());
963
Assert.Equal(0, bmp.GetPixel(0, 84).
ToArgb
());
964
Assert.Equal(0, bmp.GetPixel(0, 88).
ToArgb
());
965
Assert.Equal(0, bmp.GetPixel(0, 92).
ToArgb
());
966
Assert.Equal(0, bmp.GetPixel(4, 0).
ToArgb
());
967
Assert.Equal(0, bmp.GetPixel(4, 4).
ToArgb
());
968
Assert.Equal(-14935012, bmp.GetPixel(4, 8).
ToArgb
());
969
Assert.Equal(-3407872, bmp.GetPixel(4, 12).
ToArgb
());
970
Assert.Equal(-3407872, bmp.GetPixel(4, 16).
ToArgb
());
971
Assert.Equal(-14935012, bmp.GetPixel(4, 20).
ToArgb
());
972
Assert.Equal(0, bmp.GetPixel(4, 24).
ToArgb
());
973
Assert.Equal(0, bmp.GetPixel(4, 28).
ToArgb
());
974
Assert.Equal(0, bmp.GetPixel(4, 32).
ToArgb
());
975
Assert.Equal(0, bmp.GetPixel(4, 36).
ToArgb
());
976
Assert.Equal(-3368602, bmp.GetPixel(4, 40).
ToArgb
());
977
Assert.Equal(-3368602, bmp.GetPixel(4, 44).
ToArgb
());
978
Assert.Equal(-3368602, bmp.GetPixel(4, 48).
ToArgb
());
979
Assert.Equal(-3368602, bmp.GetPixel(4, 52).
ToArgb
());
980
Assert.Equal(0, bmp.GetPixel(4, 56).
ToArgb
());
981
Assert.Equal(0, bmp.GetPixel(4, 60).
ToArgb
());
982
Assert.Equal(-3342541, bmp.GetPixel(4, 64).
ToArgb
());
983
Assert.Equal(-3342541, bmp.GetPixel(4, 68).
ToArgb
());
984
Assert.Equal(-3342541, bmp.GetPixel(4, 72).
ToArgb
());
985
Assert.Equal(0, bmp.GetPixel(4, 76).
ToArgb
());
986
Assert.Equal(0, bmp.GetPixel(4, 80).
ToArgb
());
987
Assert.Equal(-26317, bmp.GetPixel(4, 84).
ToArgb
());
988
Assert.Equal(-26317, bmp.GetPixel(4, 88).
ToArgb
());
989
Assert.Equal(-26317, bmp.GetPixel(4, 92).
ToArgb
());
990
Assert.Equal(0, bmp.GetPixel(8, 0).
ToArgb
());
991
Assert.Equal(-14935012, bmp.GetPixel(8, 4).
ToArgb
());
992
Assert.Equal(-3407872, bmp.GetPixel(8, 8).
ToArgb
());
993
Assert.Equal(-3407872, bmp.GetPixel(8, 12).
ToArgb
());
994
Assert.Equal(-3407872, bmp.GetPixel(8, 16).
ToArgb
());
995
Assert.Equal(-3407872, bmp.GetPixel(8, 20).
ToArgb
());
996
Assert.Equal(-14935012, bmp.GetPixel(8, 24).
ToArgb
());
997
Assert.Equal(0, bmp.GetPixel(8, 28).
ToArgb
());
998
Assert.Equal(0, bmp.GetPixel(8, 32).
ToArgb
());
999
Assert.Equal(-3368602, bmp.GetPixel(8, 36).
ToArgb
());
1000
Assert.Equal(-3368602, bmp.GetPixel(8, 40).
ToArgb
());
1001
Assert.Equal(-3368602, bmp.GetPixel(8, 44).
ToArgb
());
1002
Assert.Equal(-3368602, bmp.GetPixel(8, 48).
ToArgb
());
1003
Assert.Equal(-3368602, bmp.GetPixel(8, 52).
ToArgb
());
1004
Assert.Equal(-3368602, bmp.GetPixel(8, 56).
ToArgb
());
1005
Assert.Equal(0, bmp.GetPixel(8, 60).
ToArgb
());
1006
Assert.Equal(-3342541, bmp.GetPixel(8, 64).
ToArgb
());
1007
Assert.Equal(-3342541, bmp.GetPixel(8, 68).
ToArgb
());
1008
Assert.Equal(-3342541, bmp.GetPixel(8, 72).
ToArgb
());
1009
Assert.Equal(0, bmp.GetPixel(8, 76).
ToArgb
());
1010
Assert.Equal(0, bmp.GetPixel(8, 80).
ToArgb
());
1011
Assert.Equal(-26317, bmp.GetPixel(8, 84).
ToArgb
());
1012
Assert.Equal(-26317, bmp.GetPixel(8, 88).
ToArgb
());
1013
Assert.Equal(-26317, bmp.GetPixel(8, 92).
ToArgb
());
1014
Assert.Equal(0, bmp.GetPixel(12, 0).
ToArgb
());
1015
Assert.Equal(-3407872, bmp.GetPixel(12, 4).
ToArgb
());
1016
Assert.Equal(-3407872, bmp.GetPixel(12, 8).
ToArgb
());
1017
Assert.Equal(-3407872, bmp.GetPixel(12, 12).
ToArgb
());
1018
Assert.Equal(-3407872, bmp.GetPixel(12, 16).
ToArgb
());
1019
Assert.Equal(-3407872, bmp.GetPixel(12, 20).
ToArgb
());
1020
Assert.Equal(-3407872, bmp.GetPixel(12, 24).
ToArgb
());
1021
Assert.Equal(0, bmp.GetPixel(12, 28).
ToArgb
());
1022
Assert.Equal(-3368602, bmp.GetPixel(12, 32).
ToArgb
());
1023
Assert.Equal(-3368602, bmp.GetPixel(12, 36).
ToArgb
());
1024
Assert.Equal(-3368602, bmp.GetPixel(12, 40).
ToArgb
());
1025
Assert.Equal(-3368602, bmp.GetPixel(12, 44).
ToArgb
());
1026
Assert.Equal(-3368602, bmp.GetPixel(12, 48).
ToArgb
());
1027
Assert.Equal(-3368602, bmp.GetPixel(12, 52).
ToArgb
());
1028
Assert.Equal(-3368602, bmp.GetPixel(12, 56).
ToArgb
());
1029
Assert.Equal(-3368602, bmp.GetPixel(12, 60).
ToArgb
());
1030
Assert.Equal(-3342541, bmp.GetPixel(12, 64).
ToArgb
());
1031
Assert.Equal(-3342541, bmp.GetPixel(12, 68).
ToArgb
());
1032
Assert.Equal(-14935012, bmp.GetPixel(12, 72).
ToArgb
());
1033
Assert.Equal(0, bmp.GetPixel(12, 76).
ToArgb
());
1034
Assert.Equal(0, bmp.GetPixel(12, 80).
ToArgb
());
1035
Assert.Equal(-26317, bmp.GetPixel(12, 84).
ToArgb
());
1036
Assert.Equal(-26317, bmp.GetPixel(12, 88).
ToArgb
());
1037
Assert.Equal(-26317, bmp.GetPixel(12, 92).
ToArgb
());
1038
Assert.Equal(0, bmp.GetPixel(16, 0).
ToArgb
());
1039
Assert.Equal(-3407872, bmp.GetPixel(16, 4).
ToArgb
());
1040
Assert.Equal(-3407872, bmp.GetPixel(16, 8).
ToArgb
());
1041
Assert.Equal(-3407872, bmp.GetPixel(16, 12).
ToArgb
());
1042
Assert.Equal(-3407872, bmp.GetPixel(16, 16).
ToArgb
());
1043
Assert.Equal(-3407872, bmp.GetPixel(16, 20).
ToArgb
());
1044
Assert.Equal(-3407872, bmp.GetPixel(16, 24).
ToArgb
());
1045
Assert.Equal(0, bmp.GetPixel(16, 28).
ToArgb
());
1046
Assert.Equal(-3368602, bmp.GetPixel(16, 32).
ToArgb
());
1047
Assert.Equal(-3368602, bmp.GetPixel(16, 36).
ToArgb
());
1048
Assert.Equal(-3368602, bmp.GetPixel(16, 40).
ToArgb
());
1049
Assert.Equal(-3368602, bmp.GetPixel(16, 44).
ToArgb
());
1050
Assert.Equal(-3368602, bmp.GetPixel(16, 48).
ToArgb
());
1051
Assert.Equal(-3368602, bmp.GetPixel(16, 52).
ToArgb
());
1052
Assert.Equal(-3368602, bmp.GetPixel(16, 56).
ToArgb
());
1053
Assert.Equal(-3368602, bmp.GetPixel(16, 60).
ToArgb
());
1054
Assert.Equal(0, bmp.GetPixel(16, 64).
ToArgb
());
1055
Assert.Equal(0, bmp.GetPixel(16, 68).
ToArgb
());
1056
Assert.Equal(0, bmp.GetPixel(16, 72).
ToArgb
());
1057
Assert.Equal(0, bmp.GetPixel(16, 76).
ToArgb
());
1058
Assert.Equal(-14935012, bmp.GetPixel(16, 80).
ToArgb
());
1059
Assert.Equal(0, bmp.GetPixel(16, 84).
ToArgb
());
1060
Assert.Equal(-14935012, bmp.GetPixel(16, 88).
ToArgb
());
1061
Assert.Equal(0, bmp.GetPixel(16, 92).
ToArgb
());
1062
Assert.Equal(0, bmp.GetPixel(20, 0).
ToArgb
());
1063
Assert.Equal(-14935012, bmp.GetPixel(20, 4).
ToArgb
());
1064
Assert.Equal(-3407872, bmp.GetPixel(20, 8).
ToArgb
());
1065
Assert.Equal(-3407872, bmp.GetPixel(20, 12).
ToArgb
());
1066
Assert.Equal(-3407872, bmp.GetPixel(20, 16).
ToArgb
());
1067
Assert.Equal(-3407872, bmp.GetPixel(20, 20).
ToArgb
());
1068
Assert.Equal(-14935012, bmp.GetPixel(20, 24).
ToArgb
());
1069
Assert.Equal(0, bmp.GetPixel(20, 28).
ToArgb
());
1070
Assert.Equal(-3368602, bmp.GetPixel(20, 32).
ToArgb
());
1071
Assert.Equal(-3368602, bmp.GetPixel(20, 36).
ToArgb
());
1072
Assert.Equal(-3368602, bmp.GetPixel(20, 40).
ToArgb
());
1073
Assert.Equal(-3368602, bmp.GetPixel(20, 44).
ToArgb
());
1074
Assert.Equal(-3368602, bmp.GetPixel(20, 48).
ToArgb
());
1075
Assert.Equal(-3368602, bmp.GetPixel(20, 52).
ToArgb
());
1076
Assert.Equal(-3368602, bmp.GetPixel(20, 56).
ToArgb
());
1077
Assert.Equal(-3368602, bmp.GetPixel(20, 60).
ToArgb
());
1078
Assert.Equal(0, bmp.GetPixel(20, 64).
ToArgb
());
1079
Assert.Equal(0, bmp.GetPixel(20, 68).
ToArgb
());
1080
Assert.Equal(-13434829, bmp.GetPixel(20, 72).
ToArgb
());
1081
Assert.Equal(-13434829, bmp.GetPixel(20, 76).
ToArgb
());
1082
Assert.Equal(-13434829, bmp.GetPixel(20, 80).
ToArgb
());
1083
Assert.Equal(-13434829, bmp.GetPixel(20, 84).
ToArgb
());
1084
Assert.Equal(-13434829, bmp.GetPixel(20, 88).
ToArgb
());
1085
Assert.Equal(0, bmp.GetPixel(20, 92).
ToArgb
());
1086
Assert.Equal(0, bmp.GetPixel(24, 0).
ToArgb
());
1087
Assert.Equal(0, bmp.GetPixel(24, 4).
ToArgb
());
1088
Assert.Equal(-14935012, bmp.GetPixel(24, 8).
ToArgb
());
1089
Assert.Equal(-3407872, bmp.GetPixel(24, 12).
ToArgb
());
1090
Assert.Equal(-3407872, bmp.GetPixel(24, 16).
ToArgb
());
1091
Assert.Equal(-14935012, bmp.GetPixel(24, 20).
ToArgb
());
1092
Assert.Equal(0, bmp.GetPixel(24, 24).
ToArgb
());
1093
Assert.Equal(0, bmp.GetPixel(24, 28).
ToArgb
());
1094
Assert.Equal(-3368602, bmp.GetPixel(24, 32).
ToArgb
());
1095
Assert.Equal(-3368602, bmp.GetPixel(24, 36).
ToArgb
());
1096
Assert.Equal(-3368602, bmp.GetPixel(24, 40).
ToArgb
());
1097
Assert.Equal(-3368602, bmp.GetPixel(24, 44).
ToArgb
());
1098
Assert.Equal(-3368602, bmp.GetPixel(24, 48).
ToArgb
());
1099
Assert.Equal(-3368602, bmp.GetPixel(24, 52).
ToArgb
());
1100
Assert.Equal(-3368602, bmp.GetPixel(24, 56).
ToArgb
());
1101
Assert.Equal(-3368602, bmp.GetPixel(24, 60).
ToArgb
());
1102
Assert.Equal(0, bmp.GetPixel(24, 64).
ToArgb
());
1103
Assert.Equal(-13434829, bmp.GetPixel(24, 68).
ToArgb
());
1104
Assert.Equal(-13434829, bmp.GetPixel(24, 72).
ToArgb
());
1105
Assert.Equal(-13434829, bmp.GetPixel(24, 76).
ToArgb
());
1106
Assert.Equal(-13434829, bmp.GetPixel(24, 80).
ToArgb
());
1107
Assert.Equal(-13434829, bmp.GetPixel(24, 84).
ToArgb
());
1108
Assert.Equal(-13434829, bmp.GetPixel(24, 88).
ToArgb
());
1109
Assert.Equal(-14935012, bmp.GetPixel(24, 92).
ToArgb
());
1110
Assert.Equal(0, bmp.GetPixel(28, 0).
ToArgb
());
1111
Assert.Equal(0, bmp.GetPixel(28, 4).
ToArgb
());
1112
Assert.Equal(-14935012, bmp.GetPixel(28, 8).
ToArgb
());
1113
Assert.Equal(0, bmp.GetPixel(28, 12).
ToArgb
());
1114
Assert.Equal(0, bmp.GetPixel(28, 16).
ToArgb
());
1115
Assert.Equal(-14935012, bmp.GetPixel(28, 20).
ToArgb
());
1116
Assert.Equal(-16777012, bmp.GetPixel(28, 24).
ToArgb
());
1117
Assert.Equal(0, bmp.GetPixel(28, 28).
ToArgb
());
1118
Assert.Equal(-3368602, bmp.GetPixel(28, 32).
ToArgb
());
1119
Assert.Equal(-3368602, bmp.GetPixel(28, 36).
ToArgb
());
1120
Assert.Equal(-3368602, bmp.GetPixel(28, 40).
ToArgb
());
1121
Assert.Equal(-3368602, bmp.GetPixel(28, 44).
ToArgb
());
1122
Assert.Equal(-3368602, bmp.GetPixel(28, 48).
ToArgb
());
1123
Assert.Equal(-3368602, bmp.GetPixel(28, 52).
ToArgb
());
1124
Assert.Equal(-3368602, bmp.GetPixel(28, 56).
ToArgb
());
1125
Assert.Equal(-3368602, bmp.GetPixel(28, 60).
ToArgb
());
1126
Assert.Equal(0, bmp.GetPixel(28, 64).
ToArgb
());
1127
Assert.Equal(-13434829, bmp.GetPixel(28, 68).
ToArgb
());
1128
Assert.Equal(-13434829, bmp.GetPixel(28, 72).
ToArgb
());
1129
Assert.Equal(-13434829, bmp.GetPixel(28, 76).
ToArgb
());
1130
Assert.Equal(-13434829, bmp.GetPixel(28, 80).
ToArgb
());
1131
Assert.Equal(-13434829, bmp.GetPixel(28, 84).
ToArgb
());
1132
Assert.Equal(-13434829, bmp.GetPixel(28, 88).
ToArgb
());
1133
Assert.Equal(-13434829, bmp.GetPixel(28, 92).
ToArgb
());
1134
Assert.Equal(0, bmp.GetPixel(32, 0).
ToArgb
());
1135
Assert.Equal(-10027264, bmp.GetPixel(32, 4).
ToArgb
());
1136
Assert.Equal(-10027264, bmp.GetPixel(32, 8).
ToArgb
());
1137
Assert.Equal(-10027264, bmp.GetPixel(32, 12).
ToArgb
());
1138
Assert.Equal(-14935012, bmp.GetPixel(32, 16).
ToArgb
());
1139
Assert.Equal(-16777012, bmp.GetPixel(32, 20).
ToArgb
());
1140
Assert.Equal(-16777012, bmp.GetPixel(32, 24).
ToArgb
());
1141
Assert.Equal(-16777012, bmp.GetPixel(32, 28).
ToArgb
());
1142
Assert.Equal(0, bmp.GetPixel(32, 32).
ToArgb
());
1143
Assert.Equal(-3368602, bmp.GetPixel(32, 36).
ToArgb
());
1144
Assert.Equal(-3368602, bmp.GetPixel(32, 40).
ToArgb
());
1145
Assert.Equal(-3368602, bmp.GetPixel(32, 44).
ToArgb
());
1146
Assert.Equal(-3368602, bmp.GetPixel(32, 48).
ToArgb
());
1147
Assert.Equal(-3368602, bmp.GetPixel(32, 52).
ToArgb
());
1148
Assert.Equal(-3368602, bmp.GetPixel(32, 56).
ToArgb
());
1149
Assert.Equal(0, bmp.GetPixel(32, 60).
ToArgb
());
1150
Assert.Equal(0, bmp.GetPixel(32, 64).
ToArgb
());
1151
Assert.Equal(-13434829, bmp.GetPixel(32, 68).
ToArgb
());
1152
Assert.Equal(-13434829, bmp.GetPixel(32, 72).
ToArgb
());
1153
Assert.Equal(-13434829, bmp.GetPixel(32, 76).
ToArgb
());
1154
Assert.Equal(-13434829, bmp.GetPixel(32, 80).
ToArgb
());
1155
Assert.Equal(-13434829, bmp.GetPixel(32, 84).
ToArgb
());
1156
Assert.Equal(-13434829, bmp.GetPixel(32, 88).
ToArgb
());
1157
Assert.Equal(-13434829, bmp.GetPixel(32, 92).
ToArgb
());
1158
Assert.Equal(0, bmp.GetPixel(36, 0).
ToArgb
());
1159
Assert.Equal(-10027264, bmp.GetPixel(36, 4).
ToArgb
());
1160
Assert.Equal(-10027264, bmp.GetPixel(36, 8).
ToArgb
());
1161
Assert.Equal(-10027264, bmp.GetPixel(36, 12).
ToArgb
());
1162
Assert.Equal(-10027264, bmp.GetPixel(36, 16).
ToArgb
());
1163
Assert.Equal(-14935012, bmp.GetPixel(36, 20).
ToArgb
());
1164
Assert.Equal(-16777012, bmp.GetPixel(36, 24).
ToArgb
());
1165
Assert.Equal(0, bmp.GetPixel(36, 28).
ToArgb
());
1166
Assert.Equal(0, bmp.GetPixel(36, 32).
ToArgb
());
1167
Assert.Equal(0, bmp.GetPixel(36, 36).
ToArgb
());
1168
Assert.Equal(-3368602, bmp.GetPixel(36, 40).
ToArgb
());
1169
Assert.Equal(-3368602, bmp.GetPixel(36, 44).
ToArgb
());
1170
Assert.Equal(-3368602, bmp.GetPixel(36, 48).
ToArgb
());
1171
Assert.Equal(-3368602, bmp.GetPixel(36, 52).
ToArgb
());
1172
Assert.Equal(0, bmp.GetPixel(36, 56).
ToArgb
());
1173
Assert.Equal(0, bmp.GetPixel(36, 60).
ToArgb
());
1174
Assert.Equal(0, bmp.GetPixel(36, 64).
ToArgb
());
1175
Assert.Equal(-13434829, bmp.GetPixel(36, 68).
ToArgb
());
1176
Assert.Equal(-13434829, bmp.GetPixel(36, 72).
ToArgb
());
1177
Assert.Equal(-13434829, bmp.GetPixel(36, 76).
ToArgb
());
1178
Assert.Equal(-13434829, bmp.GetPixel(36, 80).
ToArgb
());
1179
Assert.Equal(-13434829, bmp.GetPixel(36, 84).
ToArgb
());
1180
Assert.Equal(-13434829, bmp.GetPixel(36, 88).
ToArgb
());
1181
Assert.Equal(-13434829, bmp.GetPixel(36, 92).
ToArgb
());
1182
Assert.Equal(0, bmp.GetPixel(40, 0).
ToArgb
());
1183
Assert.Equal(-10027264, bmp.GetPixel(40, 4).
ToArgb
());
1184
Assert.Equal(-10027264, bmp.GetPixel(40, 8).
ToArgb
());
1185
Assert.Equal(-10027264, bmp.GetPixel(40, 12).
ToArgb
());
1186
Assert.Equal(-14935012, bmp.GetPixel(40, 16).
ToArgb
());
1187
Assert.Equal(0, bmp.GetPixel(40, 20).
ToArgb
());
1188
Assert.Equal(0, bmp.GetPixel(40, 24).
ToArgb
());
1189
Assert.Equal(0, bmp.GetPixel(40, 28).
ToArgb
());
1190
Assert.Equal(-13408717, bmp.GetPixel(40, 32).
ToArgb
());
1191
Assert.Equal(-13408717, bmp.GetPixel(40, 36).
ToArgb
());
1192
Assert.Equal(0, bmp.GetPixel(40, 40).
ToArgb
());
1193
Assert.Equal(0, bmp.GetPixel(40, 44).
ToArgb
());
1194
Assert.Equal(-14935012, bmp.GetPixel(40, 48).
ToArgb
());
1195
Assert.Equal(0, bmp.GetPixel(40, 52).
ToArgb
());
1196
Assert.Equal(0, bmp.GetPixel(40, 56).
ToArgb
());
1197
Assert.Equal(-26317, bmp.GetPixel(40, 60).
ToArgb
());
1198
Assert.Equal(-26317, bmp.GetPixel(40, 64).
ToArgb
());
1199
Assert.Equal(-14935012, bmp.GetPixel(40, 68).
ToArgb
());
1200
Assert.Equal(-13434829, bmp.GetPixel(40, 72).
ToArgb
());
1201
Assert.Equal(-13434829, bmp.GetPixel(40, 76).
ToArgb
());
1202
Assert.Equal(-13434829, bmp.GetPixel(40, 80).
ToArgb
());
1203
Assert.Equal(-13434829, bmp.GetPixel(40, 84).
ToArgb
());
1204
Assert.Equal(-13434829, bmp.GetPixel(40, 88).
ToArgb
());
1205
Assert.Equal(0, bmp.GetPixel(40, 92).
ToArgb
());
1206
Assert.Equal(0, bmp.GetPixel(44, 0).
ToArgb
());
1207
Assert.Equal(0, bmp.GetPixel(44, 4).
ToArgb
());
1208
Assert.Equal(-14935012, bmp.GetPixel(44, 8).
ToArgb
());
1209
Assert.Equal(0, bmp.GetPixel(44, 12).
ToArgb
());
1210
Assert.Equal(0, bmp.GetPixel(44, 16).
ToArgb
());
1211
Assert.Equal(0, bmp.GetPixel(44, 20).
ToArgb
());
1212
Assert.Equal(0, bmp.GetPixel(44, 24).
ToArgb
());
1213
Assert.Equal(0, bmp.GetPixel(44, 28).
ToArgb
());
1214
Assert.Equal(-13408717, bmp.GetPixel(44, 32).
ToArgb
());
1215
Assert.Equal(-13408717, bmp.GetPixel(44, 36).
ToArgb
());
1216
Assert.Equal(0, bmp.GetPixel(44, 40).
ToArgb
());
1217
Assert.Equal(-13312, bmp.GetPixel(44, 44).
ToArgb
());
1218
Assert.Equal(-13312, bmp.GetPixel(44, 48).
ToArgb
());
1219
Assert.Equal(-13312, bmp.GetPixel(44, 52).
ToArgb
());
1220
Assert.Equal(-13312, bmp.GetPixel(44, 56).
ToArgb
());
1221
Assert.Equal(-14935012, bmp.GetPixel(44, 60).
ToArgb
());
1222
Assert.Equal(-14935012, bmp.GetPixel(44, 64).
ToArgb
());
1223
Assert.Equal(0, bmp.GetPixel(44, 68).
ToArgb
());
1224
Assert.Equal(-14935012, bmp.GetPixel(44, 72).
ToArgb
());
1225
Assert.Equal(-13434829, bmp.GetPixel(44, 76).
ToArgb
());
1226
Assert.Equal(-13434829, bmp.GetPixel(44, 80).
ToArgb
());
1227
Assert.Equal(-13434829, bmp.GetPixel(44, 84).
ToArgb
());
1228
Assert.Equal(-14935012, bmp.GetPixel(44, 88).
ToArgb
());
1229
Assert.Equal(0, bmp.GetPixel(44, 92).
ToArgb
());
1230
Assert.Equal(0, bmp.GetPixel(48, 0).
ToArgb
());
1231
Assert.Equal(0, bmp.GetPixel(48, 4).
ToArgb
());
1232
Assert.Equal(0, bmp.GetPixel(48, 8).
ToArgb
());
1233
Assert.Equal(0, bmp.GetPixel(48, 12).
ToArgb
());
1234
Assert.Equal(-52429, bmp.GetPixel(48, 16).
ToArgb
());
1235
Assert.Equal(-52429, bmp.GetPixel(48, 20).
ToArgb
());
1236
Assert.Equal(-52429, bmp.GetPixel(48, 24).
ToArgb
());
1237
Assert.Equal(-52429, bmp.GetPixel(48, 28).
ToArgb
());
1238
Assert.Equal(-14935012, bmp.GetPixel(48, 32).
ToArgb
());
1239
Assert.Equal(0, bmp.GetPixel(48, 36).
ToArgb
());
1240
Assert.Equal(-14935012, bmp.GetPixel(48, 40).
ToArgb
());
1241
Assert.Equal(-13312, bmp.GetPixel(48, 44).
ToArgb
());
1242
Assert.Equal(-13312, bmp.GetPixel(48, 48).
ToArgb
());
1243
Assert.Equal(-13312, bmp.GetPixel(48, 52).
ToArgb
());
1244
Assert.Equal(-13312, bmp.GetPixel(48, 56).
ToArgb
());
1245
Assert.Equal(0, bmp.GetPixel(48, 60).
ToArgb
());
1247
Assert.Equal(-3355546, bmp.GetPixel(48, 68).
ToArgb
());
1248
Assert.Equal(-3355546, bmp.GetPixel(48, 72).
ToArgb
());
1249
Assert.Equal(0, bmp.GetPixel(48, 76).
ToArgb
());
1250
Assert.Equal(0, bmp.GetPixel(48, 80).
ToArgb
());
1251
Assert.Equal(0, bmp.GetPixel(48, 84).
ToArgb
());
1252
Assert.Equal(0, bmp.GetPixel(48, 88).
ToArgb
());
1253
Assert.Equal(0, bmp.GetPixel(48, 92).
ToArgb
());
1254
Assert.Equal(0, bmp.GetPixel(52, 0).
ToArgb
());
1255
Assert.Equal(0, bmp.GetPixel(52, 4).
ToArgb
());
1256
Assert.Equal(-14935012, bmp.GetPixel(52, 8).
ToArgb
());
1257
Assert.Equal(-52429, bmp.GetPixel(52, 12).
ToArgb
());
1258
Assert.Equal(-52429, bmp.GetPixel(52, 16).
ToArgb
());
1259
Assert.Equal(-52429, bmp.GetPixel(52, 20).
ToArgb
());
1260
Assert.Equal(-52429, bmp.GetPixel(52, 24).
ToArgb
());
1261
Assert.Equal(-52429, bmp.GetPixel(52, 28).
ToArgb
());
1262
Assert.Equal(-52429, bmp.GetPixel(52, 32).
ToArgb
());
1263
Assert.Equal(-52429, bmp.GetPixel(52, 36).
ToArgb
());
1264
Assert.Equal(-14935012, bmp.GetPixel(52, 40).
ToArgb
());
1265
Assert.Equal(-13312, bmp.GetPixel(52, 44).
ToArgb
());
1266
Assert.Equal(-13312, bmp.GetPixel(52, 48).
ToArgb
());
1267
Assert.Equal(-13312, bmp.GetPixel(52, 52).
ToArgb
());
1268
Assert.Equal(-13312, bmp.GetPixel(52, 56).
ToArgb
());
1269
Assert.Equal(0, bmp.GetPixel(52, 60).
ToArgb
());
1270
Assert.Equal(-3355546, bmp.GetPixel(52, 64).
ToArgb
());
1271
Assert.Equal(-3355546, bmp.GetPixel(52, 68).
ToArgb
());
1272
Assert.Equal(-3355546, bmp.GetPixel(52, 72).
ToArgb
());
1273
Assert.Equal(-3355546, bmp.GetPixel(52, 76).
ToArgb
());
1274
Assert.Equal(0, bmp.GetPixel(52, 80).
ToArgb
());
1275
Assert.Equal(-6737101, bmp.GetPixel(52, 84).
ToArgb
());
1276
Assert.Equal(-6737101, bmp.GetPixel(52, 88).
ToArgb
());
1277
Assert.Equal(-6737101, bmp.GetPixel(52, 92).
ToArgb
());
1278
Assert.Equal(0, bmp.GetPixel(56, 0).
ToArgb
());
1279
Assert.Equal(0, bmp.GetPixel(56, 4).
ToArgb
());
1280
Assert.Equal(-52429, bmp.GetPixel(56, 8).
ToArgb
());
1281
Assert.Equal(-52429, bmp.GetPixel(56, 12).
ToArgb
());
1282
Assert.Equal(-52429, bmp.GetPixel(56, 16).
ToArgb
());
1283
Assert.Equal(-52429, bmp.GetPixel(56, 20).
ToArgb
());
1284
Assert.Equal(-52429, bmp.GetPixel(56, 24).
ToArgb
());
1285
Assert.Equal(-52429, bmp.GetPixel(56, 28).
ToArgb
());
1286
Assert.Equal(-52429, bmp.GetPixel(56, 32).
ToArgb
());
1287
Assert.Equal(-52429, bmp.GetPixel(56, 36).
ToArgb
());
1288
Assert.Equal(-14935012, bmp.GetPixel(56, 40).
ToArgb
());
1289
Assert.Equal(-13312, bmp.GetPixel(56, 44).
ToArgb
());
1290
Assert.Equal(-13312, bmp.GetPixel(56, 48).
ToArgb
());
1291
Assert.Equal(-13312, bmp.GetPixel(56, 52).
ToArgb
());
1292
Assert.Equal(-13312, bmp.GetPixel(56, 56).
ToArgb
());
1293
Assert.Equal(0, bmp.GetPixel(56, 60).
ToArgb
());
1294
Assert.Equal(-3355546, bmp.GetPixel(56, 64).
ToArgb
());
1295
Assert.Equal(-3355546, bmp.GetPixel(56, 68).
ToArgb
());
1296
Assert.Equal(-3355546, bmp.GetPixel(56, 72).
ToArgb
());
1297
Assert.Equal(-3355546, bmp.GetPixel(56, 76).
ToArgb
());
1298
Assert.Equal(-6737101, bmp.GetPixel(56, 80).
ToArgb
());
1299
Assert.Equal(-6737101, bmp.GetPixel(56, 84).
ToArgb
());
1300
Assert.Equal(-6737101, bmp.GetPixel(56, 88).
ToArgb
());
1301
Assert.Equal(-6737101, bmp.GetPixel(56, 92).
ToArgb
());
1302
Assert.Equal(0, bmp.GetPixel(60, 0).
ToArgb
());
1303
Assert.Equal(-52429, bmp.GetPixel(60, 4).
ToArgb
());
1304
Assert.Equal(-52429, bmp.GetPixel(60, 8).
ToArgb
());
1305
Assert.Equal(-52429, bmp.GetPixel(60, 12).
ToArgb
());
1306
Assert.Equal(-52429, bmp.GetPixel(60, 16).
ToArgb
());
1307
Assert.Equal(-52429, bmp.GetPixel(60, 20).
ToArgb
());
1308
Assert.Equal(-52429, bmp.GetPixel(60, 24).
ToArgb
());
1309
Assert.Equal(-52429, bmp.GetPixel(60, 28).
ToArgb
());
1310
Assert.Equal(-52429, bmp.GetPixel(60, 32).
ToArgb
());
1311
Assert.Equal(-52429, bmp.GetPixel(60, 36).
ToArgb
());
1312
Assert.Equal(-52429, bmp.GetPixel(60, 40).
ToArgb
());
1313
Assert.Equal(0, bmp.GetPixel(60, 44).
ToArgb
());
1314
Assert.Equal(-14935012, bmp.GetPixel(60, 48).
ToArgb
());
1315
Assert.Equal(0, bmp.GetPixel(60, 52).
ToArgb
());
1316
Assert.Equal(0, bmp.GetPixel(60, 56).
ToArgb
());
1317
Assert.Equal(0, bmp.GetPixel(60, 60).
ToArgb
());
1318
Assert.Equal(0, bmp.GetPixel(60, 64).
ToArgb
());
1319
Assert.Equal(-3355546, bmp.GetPixel(60, 68).
ToArgb
());
1320
Assert.Equal(-3355546, bmp.GetPixel(60, 72).
ToArgb
());
1321
Assert.Equal(0, bmp.GetPixel(60, 76).
ToArgb
());
1322
Assert.Equal(-6737101, bmp.GetPixel(60, 80).
ToArgb
());
1323
Assert.Equal(-6737101, bmp.GetPixel(60, 84).
ToArgb
());
1324
Assert.Equal(-6737101, bmp.GetPixel(60, 88).
ToArgb
());
1325
Assert.Equal(-6737101, bmp.GetPixel(60, 92).
ToArgb
());
1326
Assert.Equal(0, bmp.GetPixel(64, 0).
ToArgb
());
1327
Assert.Equal(-52429, bmp.GetPixel(64, 4).
ToArgb
());
1328
Assert.Equal(-52429, bmp.GetPixel(64, 8).
ToArgb
());
1329
Assert.Equal(-52429, bmp.GetPixel(64, 12).
ToArgb
());
1330
Assert.Equal(-52429, bmp.GetPixel(64, 16).
ToArgb
());
1331
Assert.Equal(-52429, bmp.GetPixel(64, 20).
ToArgb
());
1332
Assert.Equal(-52429, bmp.GetPixel(64, 24).
ToArgb
());
1333
Assert.Equal(-52429, bmp.GetPixel(64, 28).
ToArgb
());
1334
Assert.Equal(-52429, bmp.GetPixel(64, 32).
ToArgb
());
1335
Assert.Equal(-52429, bmp.GetPixel(64, 36).
ToArgb
());
1336
Assert.Equal(-52429, bmp.GetPixel(64, 40).
ToArgb
());
1337
Assert.Equal(-14935012, bmp.GetPixel(64, 44).
ToArgb
());
1338
Assert.Equal(0, bmp.GetPixel(64, 48).
ToArgb
());
1339
Assert.Equal(0, bmp.GetPixel(64, 52).
ToArgb
());
1340
Assert.Equal(-6750157, bmp.GetPixel(64, 56).
ToArgb
());
1341
Assert.Equal(-6750157, bmp.GetPixel(64, 60).
ToArgb
());
1342
Assert.Equal(-6750157, bmp.GetPixel(64, 64).
ToArgb
());
1343
Assert.Equal(-14935012, bmp.GetPixel(64, 68).
ToArgb
());
1344
Assert.Equal(0, bmp.GetPixel(64, 72).
ToArgb
());
1345
Assert.Equal(0, bmp.GetPixel(64, 76).
ToArgb
());
1346
Assert.Equal(0, bmp.GetPixel(64, 80).
ToArgb
());
1347
Assert.Equal(-6737101, bmp.GetPixel(64, 84).
ToArgb
());
1348
Assert.Equal(-6737101, bmp.GetPixel(64, 88).
ToArgb
());
1349
Assert.Equal(-14935012, bmp.GetPixel(64, 92).
ToArgb
());
1350
Assert.Equal(-14935012, bmp.GetPixel(68, 0).
ToArgb
());
1351
Assert.Equal(-52429, bmp.GetPixel(68, 4).
ToArgb
());
1352
Assert.Equal(-52429, bmp.GetPixel(68, 8).
ToArgb
());
1353
Assert.Equal(-52429, bmp.GetPixel(68, 12).
ToArgb
());
1354
Assert.Equal(-52429, bmp.GetPixel(68, 16).
ToArgb
());
1355
Assert.Equal(-52429, bmp.GetPixel(68, 20).
ToArgb
());
1356
Assert.Equal(-52429, bmp.GetPixel(68, 24).
ToArgb
());
1357
Assert.Equal(-52429, bmp.GetPixel(68, 28).
ToArgb
());
1358
Assert.Equal(-52429, bmp.GetPixel(68, 32).
ToArgb
());
1359
Assert.Equal(-52429, bmp.GetPixel(68, 36).
ToArgb
());
1360
Assert.Equal(-52429, bmp.GetPixel(68, 40).
ToArgb
());
1361
Assert.Equal(-52429, bmp.GetPixel(68, 44).
ToArgb
());
1362
Assert.Equal(0, bmp.GetPixel(68, 48).
ToArgb
());
1363
Assert.Equal(-6750157, bmp.GetPixel(68, 52).
ToArgb
());
1364
Assert.Equal(-6750157, bmp.GetPixel(68, 56).
ToArgb
());
1365
Assert.Equal(-6750157, bmp.GetPixel(68, 60).
ToArgb
());
1366
Assert.Equal(-6750157, bmp.GetPixel(68, 64).
ToArgb
());
1367
Assert.Equal(-6750157, bmp.GetPixel(68, 68).
ToArgb
());
1368
Assert.Equal(-14935012, bmp.GetPixel(68, 72).
ToArgb
());
1369
Assert.Equal(-16751002, bmp.GetPixel(68, 76).
ToArgb
());
1370
Assert.Equal(-16751002, bmp.GetPixel(68, 80).
ToArgb
());
1371
Assert.Equal(0, bmp.GetPixel(68, 84).
ToArgb
());
1372
Assert.Equal(0, bmp.GetPixel(68, 88).
ToArgb
());
1373
Assert.Equal(-39373, bmp.GetPixel(68, 92).
ToArgb
());
1374
Assert.Equal(-14935012, bmp.GetPixel(72, 0).
ToArgb
());
1375
Assert.Equal(-52429, bmp.GetPixel(72, 4).
ToArgb
());
1376
Assert.Equal(-52429, bmp.GetPixel(72, 8).
ToArgb
());
1377
Assert.Equal(-52429, bmp.GetPixel(72, 12).
ToArgb
());
1378
Assert.Equal(-52429, bmp.GetPixel(72, 16).
ToArgb
());
1379
Assert.Equal(-52429, bmp.GetPixel(72, 20).
ToArgb
());
1380
Assert.Equal(-52429, bmp.GetPixel(72, 24).
ToArgb
());
1381
Assert.Equal(-52429, bmp.GetPixel(72, 28).
ToArgb
());
1382
Assert.Equal(-52429, bmp.GetPixel(72, 32).
ToArgb
());
1383
Assert.Equal(-52429, bmp.GetPixel(72, 36).
ToArgb
());
1384
Assert.Equal(-52429, bmp.GetPixel(72, 40).
ToArgb
());
1385
Assert.Equal(-52429, bmp.GetPixel(72, 44).
ToArgb
());
1386
Assert.Equal(-14935012, bmp.GetPixel(72, 48).
ToArgb
());
1387
Assert.Equal(-6750157, bmp.GetPixel(72, 52).
ToArgb
());
1388
Assert.Equal(-6750157, bmp.GetPixel(72, 56).
ToArgb
());
1389
Assert.Equal(-6750157, bmp.GetPixel(72, 60).
ToArgb
());
1390
Assert.Equal(-6750157, bmp.GetPixel(72, 64).
ToArgb
());
1391
Assert.Equal(-6750157, bmp.GetPixel(72, 68).
ToArgb
());
1392
Assert.Equal(-6750157, bmp.GetPixel(72, 72).
ToArgb
());
1393
Assert.Equal(0, bmp.GetPixel(72, 76).
ToArgb
());
1394
Assert.Equal(0, bmp.GetPixel(72, 80).
ToArgb
());
1395
Assert.Equal(0, bmp.GetPixel(72, 84).
ToArgb
());
1396
Assert.Equal(0, bmp.GetPixel(72, 88).
ToArgb
());
1397
Assert.Equal(-39373, bmp.GetPixel(72, 92).
ToArgb
());
1398
Assert.Equal(0, bmp.GetPixel(76, 0).
ToArgb
());
1399
Assert.Equal(-52429, bmp.GetPixel(76, 4).
ToArgb
());
1400
Assert.Equal(-52429, bmp.GetPixel(76, 8).
ToArgb
());
1401
Assert.Equal(-52429, bmp.GetPixel(76, 12).
ToArgb
());
1402
Assert.Equal(-52429, bmp.GetPixel(76, 16).
ToArgb
());
1403
Assert.Equal(-52429, bmp.GetPixel(76, 20).
ToArgb
());
1404
Assert.Equal(-52429, bmp.GetPixel(76, 24).
ToArgb
());
1405
Assert.Equal(-52429, bmp.GetPixel(76, 28).
ToArgb
());
1406
Assert.Equal(-52429, bmp.GetPixel(76, 32).
ToArgb
());
1407
Assert.Equal(-52429, bmp.GetPixel(76, 36).
ToArgb
());
1408
Assert.Equal(-52429, bmp.GetPixel(76, 40).
ToArgb
());
1409
Assert.Equal(-14935012, bmp.GetPixel(76, 44).
ToArgb
());
1410
Assert.Equal(-6750157, bmp.GetPixel(76, 48).
ToArgb
());
1411
Assert.Equal(-6750157, bmp.GetPixel(76, 52).
ToArgb
());
1412
Assert.Equal(-6750157, bmp.GetPixel(76, 56).
ToArgb
());
1413
Assert.Equal(-6750157, bmp.GetPixel(76, 60).
ToArgb
());
1414
Assert.Equal(-6750157, bmp.GetPixel(76, 64).
ToArgb
());
1415
Assert.Equal(-6750157, bmp.GetPixel(76, 68).
ToArgb
());
1416
Assert.Equal(-6750157, bmp.GetPixel(76, 72).
ToArgb
());
1417
Assert.Equal(-14935012, bmp.GetPixel(76, 76).
ToArgb
());
1418
Assert.Equal(0, bmp.GetPixel(76, 80).
ToArgb
());
1419
Assert.Equal(-65383, bmp.GetPixel(76, 84).
ToArgb
());
1420
Assert.Equal(-65383, bmp.GetPixel(76, 88).
ToArgb
());
1421
Assert.Equal(-14935012, bmp.GetPixel(76, 92).
ToArgb
());
1422
Assert.Equal(0, bmp.GetPixel(80, 0).
ToArgb
());
1423
Assert.Equal(-52429, bmp.GetPixel(80, 4).
ToArgb
());
1424
Assert.Equal(-52429, bmp.GetPixel(80, 8).
ToArgb
());
1425
Assert.Equal(-52429, bmp.GetPixel(80, 12).
ToArgb
());
1426
Assert.Equal(-52429, bmp.GetPixel(80, 16).
ToArgb
());
1427
Assert.Equal(-52429, bmp.GetPixel(80, 20).
ToArgb
());
1428
Assert.Equal(-52429, bmp.GetPixel(80, 24).
ToArgb
());
1429
Assert.Equal(-52429, bmp.GetPixel(80, 28).
ToArgb
());
1430
Assert.Equal(-52429, bmp.GetPixel(80, 32).
ToArgb
());
1431
Assert.Equal(-52429, bmp.GetPixel(80, 36).
ToArgb
());
1432
Assert.Equal(-52429, bmp.GetPixel(80, 40).
ToArgb
());
1433
Assert.Equal(0, bmp.GetPixel(80, 44).
ToArgb
());
1434
Assert.Equal(-6750157, bmp.GetPixel(80, 48).
ToArgb
());
1435
Assert.Equal(-6750157, bmp.GetPixel(80, 52).
ToArgb
());
1436
Assert.Equal(-6750157, bmp.GetPixel(80, 56).
ToArgb
());
1437
Assert.Equal(-6750157, bmp.GetPixel(80, 60).
ToArgb
());
1438
Assert.Equal(-6750157, bmp.GetPixel(80, 64).
ToArgb
());
1439
Assert.Equal(-6750157, bmp.GetPixel(80, 68).
ToArgb
());
1440
Assert.Equal(-6750157, bmp.GetPixel(80, 72).
ToArgb
());
1441
Assert.Equal(-14935012, bmp.GetPixel(80, 76).
ToArgb
());
1442
Assert.Equal(-65383, bmp.GetPixel(80, 80).
ToArgb
());
1443
Assert.Equal(-65383, bmp.GetPixel(80, 84).
ToArgb
());
1444
Assert.Equal(-65383, bmp.GetPixel(80, 88).
ToArgb
());
1445
Assert.Equal(-65383, bmp.GetPixel(80, 92).
ToArgb
());
1446
Assert.Equal(0, bmp.GetPixel(84, 0).
ToArgb
());
1447
Assert.Equal(0, bmp.GetPixel(84, 4).
ToArgb
());
1448
Assert.Equal(-52429, bmp.GetPixel(84, 8).
ToArgb
());
1449
Assert.Equal(-52429, bmp.GetPixel(84, 12).
ToArgb
());
1450
Assert.Equal(-52429, bmp.GetPixel(84, 16).
ToArgb
());
1451
Assert.Equal(-52429, bmp.GetPixel(84, 20).
ToArgb
());
1452
Assert.Equal(-52429, bmp.GetPixel(84, 24).
ToArgb
());
1453
Assert.Equal(-52429, bmp.GetPixel(84, 28).
ToArgb
());
1454
Assert.Equal(-52429, bmp.GetPixel(84, 32).
ToArgb
());
1455
Assert.Equal(-52429, bmp.GetPixel(84, 36).
ToArgb
());
1456
Assert.Equal(-14935012, bmp.GetPixel(84, 40).
ToArgb
());
1457
Assert.Equal(0, bmp.GetPixel(84, 44).
ToArgb
());
1458
Assert.Equal(-14935012, bmp.GetPixel(84, 48).
ToArgb
());
1459
Assert.Equal(-6750157, bmp.GetPixel(84, 52).
ToArgb
());
1460
Assert.Equal(-6750157, bmp.GetPixel(84, 56).
ToArgb
());
1461
Assert.Equal(-6750157, bmp.GetPixel(84, 60).
ToArgb
());
1462
Assert.Equal(-6750157, bmp.GetPixel(84, 64).
ToArgb
());
1463
Assert.Equal(-6750157, bmp.GetPixel(84, 68).
ToArgb
());
1464
Assert.Equal(-6750157, bmp.GetPixel(84, 72).
ToArgb
());
1465
Assert.Equal(0, bmp.GetPixel(84, 76).
ToArgb
());
1466
Assert.Equal(-65383, bmp.GetPixel(84, 80).
ToArgb
());
1467
Assert.Equal(-65383, bmp.GetPixel(84, 84).
ToArgb
());
1468
Assert.Equal(-65383, bmp.GetPixel(84, 88).
ToArgb
());
1469
Assert.Equal(-65383, bmp.GetPixel(84, 92).
ToArgb
());
1470
Assert.Equal(0, bmp.GetPixel(88, 0).
ToArgb
());
1471
Assert.Equal(-3342490, bmp.GetPixel(88, 4).
ToArgb
());
1472
Assert.Equal(-14935012, bmp.GetPixel(88, 8).
ToArgb
());
1473
Assert.Equal(-52429, bmp.GetPixel(88, 12).
ToArgb
());
1474
Assert.Equal(-52429, bmp.GetPixel(88, 16).
ToArgb
());
1475
Assert.Equal(-52429, bmp.GetPixel(88, 20).
ToArgb
());
1476
Assert.Equal(-52429, bmp.GetPixel(88, 24).
ToArgb
());
1477
Assert.Equal(-52429, bmp.GetPixel(88, 28).
ToArgb
());
1478
Assert.Equal(-52429, bmp.GetPixel(88, 32).
ToArgb
());
1479
Assert.Equal(-52429, bmp.GetPixel(88, 36).
ToArgb
());
1480
Assert.Equal(0, bmp.GetPixel(88, 40).
ToArgb
());
1481
Assert.Equal(-16777063, bmp.GetPixel(88, 44).
ToArgb
());
1482
Assert.Equal(0, bmp.GetPixel(88, 48).
ToArgb
());
1483
Assert.Equal(-6750157, bmp.GetPixel(88, 52).
ToArgb
());
1484
Assert.Equal(-6750157, bmp.GetPixel(88, 56).
ToArgb
());
1485
Assert.Equal(-6750157, bmp.GetPixel(88, 60).
ToArgb
());
1486
Assert.Equal(-6750157, bmp.GetPixel(88, 64).
ToArgb
());
1487
Assert.Equal(-6750157, bmp.GetPixel(88, 68).
ToArgb
());
1488
Assert.Equal(-6750157, bmp.GetPixel(88, 72).
ToArgb
());
1489
Assert.Equal(0, bmp.GetPixel(88, 76).
ToArgb
());
1490
Assert.Equal(-65383, bmp.GetPixel(88, 80).
ToArgb
());
1491
Assert.Equal(-65383, bmp.GetPixel(88, 84).
ToArgb
());
1492
Assert.Equal(-65383, bmp.GetPixel(88, 88).
ToArgb
());
1493
Assert.Equal(-65383, bmp.GetPixel(88, 92).
ToArgb
());
1494
Assert.Equal(-14935012, bmp.GetPixel(92, 0).
ToArgb
());
1495
Assert.Equal(-3342490, bmp.GetPixel(92, 4).
ToArgb
());
1496
Assert.Equal(-14935012, bmp.GetPixel(92, 8).
ToArgb
());
1497
Assert.Equal(0, bmp.GetPixel(92, 12).
ToArgb
());
1498
Assert.Equal(-52429, bmp.GetPixel(92, 16).
ToArgb
());
1499
Assert.Equal(-52429, bmp.GetPixel(92, 20).
ToArgb
());
1500
Assert.Equal(-52429, bmp.GetPixel(92, 24).
ToArgb
());
1501
Assert.Equal(-52429, bmp.GetPixel(92, 28).
ToArgb
());
1502
Assert.Equal(-14935012, bmp.GetPixel(92, 32).
ToArgb
());
1503
Assert.Equal(0, bmp.GetPixel(92, 36).
ToArgb
());
1504
Assert.Equal(0, bmp.GetPixel(92, 40).
ToArgb
());
1505
Assert.Equal(0, bmp.GetPixel(92, 44).
ToArgb
());
1506
Assert.Equal(0, bmp.GetPixel(92, 48).
ToArgb
());
1507
Assert.Equal(0, bmp.GetPixel(92, 52).
ToArgb
());
1508
Assert.Equal(-6750157, bmp.GetPixel(92, 56).
ToArgb
());
1509
Assert.Equal(-6750157, bmp.GetPixel(92, 60).
ToArgb
());
1510
Assert.Equal(-6750157, bmp.GetPixel(92, 64).
ToArgb
());
1511
Assert.Equal(-6750157, bmp.GetPixel(92, 68).
ToArgb
());
1512
Assert.Equal(0, bmp.GetPixel(92, 72).
ToArgb
());
1513
Assert.Equal(0, bmp.GetPixel(92, 76).
ToArgb
());
1514
Assert.Equal(-65383, bmp.GetPixel(92, 80).
ToArgb
());
1515
Assert.Equal(-65383, bmp.GetPixel(92, 84).
ToArgb
());
1516
Assert.Equal(-65383, bmp.GetPixel(92, 88).
ToArgb
());
1517
Assert.Equal(-65383, bmp.GetPixel(92, 92).
ToArgb
());
mono\System.Drawing.Imaging\JpegCodecTests.cs (31)
89
Assert.Equal(-7697782, bmp.GetPixel(0, 0).
ToArgb
());
90
Assert.Equal(-12171706, bmp.GetPixel(0, 32).
ToArgb
());
91
Assert.Equal(-14013910, bmp.GetPixel(0, 64).
ToArgb
());
92
Assert.Equal(-15132391, bmp.GetPixel(0, 96).
ToArgb
());
93
Assert.Equal(-328966, bmp.GetPixel(32, 0).
ToArgb
());
94
Assert.Equal(-9934744, bmp.GetPixel(32, 32).
ToArgb
());
95
Assert.Equal(-10263709, bmp.GetPixel(32, 64).
ToArgb
());
96
Assert.Equal(-7368817, bmp.GetPixel(32, 96).
ToArgb
());
97
Assert.Equal(-1, bmp.GetPixel(64, 0).
ToArgb
());
98
Assert.Equal(-4276546, bmp.GetPixel(64, 32).
ToArgb
());
99
Assert.Equal(-9079435, bmp.GetPixel(64, 64).
ToArgb
());
101
Assert.Equal(-1, bmp.GetPixel(96, 0).
ToArgb
());
102
Assert.Equal(-8224126, bmp.GetPixel(96, 32).
ToArgb
());
103
Assert.Equal(-11053225, bmp.GetPixel(96, 64).
ToArgb
());
104
Assert.Equal(-9211021, bmp.GetPixel(96, 96).
ToArgb
());
204
Assert.Equal(-10447423, bmp.GetPixel(0, 0).
ToArgb
());
205
Assert.Equal(-12171958, bmp.GetPixel(0, 32).
ToArgb
());
206
Assert.Equal(-15192259, bmp.GetPixel(0, 64).
ToArgb
());
207
Assert.Equal(-15131110, bmp.GetPixel(0, 96).
ToArgb
());
208
Assert.Equal(-395272, bmp.GetPixel(32, 0).
ToArgb
());
209
Assert.Equal(-10131359, bmp.GetPixel(32, 32).
ToArgb
());
210
Assert.Equal(-10984322, bmp.GetPixel(32, 64).
ToArgb
());
211
Assert.Equal(-11034683, bmp.GetPixel(32, 96).
ToArgb
());
212
Assert.Equal(-1, bmp.GetPixel(64, 0).
ToArgb
());
213
Assert.Equal(-3163242, bmp.GetPixel(64, 32).
ToArgb
());
214
Assert.Equal(-7311538, bmp.GetPixel(64, 64).
ToArgb
());
215
Assert.Equal(-12149780, bmp.GetPixel(64, 96).
ToArgb
());
216
Assert.Equal(-1, bmp.GetPixel(96, 0).
ToArgb
());
217
Assert.Equal(-8224378, bmp.GetPixel(96, 32).
ToArgb
());
218
Assert.Equal(-11053718, bmp.GetPixel(96, 64).
ToArgb
());
219
Assert.Equal(-12944166, bmp.GetPixel(96, 96).
ToArgb
());
mono\System.Drawing.Imaging\PngCodecTests.cs (167)
51
Assert.Equal(-16777216, bmp.Palette.Entries[0].
ToArgb
());
52
Assert.Equal(-1, bmp.Palette.Entries[1].
ToArgb
());
72
Assert.Equal(-1, bmp.GetPixel(0, 0).
ToArgb
());
73
Assert.Equal(-1, bmp.GetPixel(0, 32).
ToArgb
());
74
Assert.Equal(-1, bmp.GetPixel(0, 64).
ToArgb
());
75
Assert.Equal(-1, bmp.GetPixel(0, 96).
ToArgb
());
76
Assert.Equal(-1, bmp.GetPixel(0, 128).
ToArgb
());
77
Assert.Equal(-16777216, bmp.GetPixel(0, 160).
ToArgb
());
78
Assert.Equal(-16777216, bmp.GetPixel(0, 192).
ToArgb
());
79
Assert.Equal(-16777216, bmp.GetPixel(0, 224).
ToArgb
());
80
Assert.Equal(-1, bmp.GetPixel(0, 256).
ToArgb
());
81
Assert.Equal(-16777216, bmp.GetPixel(0, 288).
ToArgb
());
82
Assert.Equal(-1, bmp.GetPixel(0, 320).
ToArgb
());
83
Assert.Equal(-16777216, bmp.GetPixel(0, 352).
ToArgb
());
84
Assert.Equal(-16777216, bmp.GetPixel(32, 0).
ToArgb
());
85
Assert.Equal(-1, bmp.GetPixel(32, 32).
ToArgb
());
86
Assert.Equal(-1, bmp.GetPixel(32, 64).
ToArgb
());
87
Assert.Equal(-16777216, bmp.GetPixel(32, 96).
ToArgb
());
88
Assert.Equal(-1, bmp.GetPixel(32, 128).
ToArgb
());
89
Assert.Equal(-1, bmp.GetPixel(32, 160).
ToArgb
());
90
Assert.Equal(-16777216, bmp.GetPixel(32, 192).
ToArgb
());
91
Assert.Equal(-1, bmp.GetPixel(32, 224).
ToArgb
());
92
Assert.Equal(-16777216, bmp.GetPixel(32, 256).
ToArgb
());
93
Assert.Equal(-16777216, bmp.GetPixel(32, 288).
ToArgb
());
94
Assert.Equal(-1, bmp.GetPixel(32, 320).
ToArgb
());
95
Assert.Equal(-1, bmp.GetPixel(32, 352).
ToArgb
());
96
Assert.Equal(-16777216, bmp.GetPixel(64, 0).
ToArgb
());
97
Assert.Equal(-16777216, bmp.GetPixel(64, 32).
ToArgb
());
98
Assert.Equal(-16777216, bmp.GetPixel(64, 64).
ToArgb
());
99
Assert.Equal(-16777216, bmp.GetPixel(64, 96).
ToArgb
());
100
Assert.Equal(-16777216, bmp.GetPixel(64, 128).
ToArgb
());
101
Assert.Equal(-16777216, bmp.GetPixel(64, 160).
ToArgb
());
102
Assert.Equal(-16777216, bmp.GetPixel(64, 192).
ToArgb
());
103
Assert.Equal(-16777216, bmp.GetPixel(64, 224).
ToArgb
());
104
Assert.Equal(-16777216, bmp.GetPixel(64, 256).
ToArgb
());
105
Assert.Equal(-16777216, bmp.GetPixel(64, 288).
ToArgb
());
106
Assert.Equal(-16777216, bmp.GetPixel(64, 320).
ToArgb
());
107
Assert.Equal(-16777216, bmp.GetPixel(64, 352).
ToArgb
());
108
Assert.Equal(-1, bmp.GetPixel(96, 0).
ToArgb
());
109
Assert.Equal(-16777216, bmp.GetPixel(96, 32).
ToArgb
());
110
Assert.Equal(-16777216, bmp.GetPixel(96, 64).
ToArgb
());
111
Assert.Equal(-16777216, bmp.GetPixel(96, 96).
ToArgb
());
112
Assert.Equal(-16777216, bmp.GetPixel(96, 128).
ToArgb
());
113
Assert.Equal(-16777216, bmp.GetPixel(96, 160).
ToArgb
());
114
Assert.Equal(-1, bmp.GetPixel(96, 192).
ToArgb
());
115
Assert.Equal(-16777216, bmp.GetPixel(96, 224).
ToArgb
());
116
Assert.Equal(-16777216, bmp.GetPixel(96, 256).
ToArgb
());
117
Assert.Equal(-16777216, bmp.GetPixel(96, 288).
ToArgb
());
118
Assert.Equal(-1, bmp.GetPixel(96, 320).
ToArgb
());
119
Assert.Equal(-1, bmp.GetPixel(96, 352).
ToArgb
());
120
Assert.Equal(-16777216, bmp.GetPixel(128, 0).
ToArgb
());
121
Assert.Equal(-16777216, bmp.GetPixel(128, 32).
ToArgb
());
122
Assert.Equal(-16777216, bmp.GetPixel(128, 64).
ToArgb
());
123
Assert.Equal(-16777216, bmp.GetPixel(128, 96).
ToArgb
());
124
Assert.Equal(-16777216, bmp.GetPixel(128, 128).
ToArgb
());
125
Assert.Equal(-16777216, bmp.GetPixel(128, 160).
ToArgb
());
126
Assert.Equal(-16777216, bmp.GetPixel(128, 192).
ToArgb
());
127
Assert.Equal(-16777216, bmp.GetPixel(128, 224).
ToArgb
());
128
Assert.Equal(-1, bmp.GetPixel(128, 256).
ToArgb
());
129
Assert.Equal(-16777216, bmp.GetPixel(128, 288).
ToArgb
());
130
Assert.Equal(-16777216, bmp.GetPixel(128, 320).
ToArgb
());
131
Assert.Equal(-16777216, bmp.GetPixel(128, 352).
ToArgb
());
132
Assert.Equal(-1, bmp.GetPixel(160, 0).
ToArgb
());
133
Assert.Equal(-1, bmp.GetPixel(160, 32).
ToArgb
());
134
Assert.Equal(-16777216, bmp.GetPixel(160, 64).
ToArgb
());
135
Assert.Equal(-1, bmp.GetPixel(160, 96).
ToArgb
());
136
Assert.Equal(-16777216, bmp.GetPixel(160, 128).
ToArgb
());
137
Assert.Equal(-1, bmp.GetPixel(160, 160).
ToArgb
());
274
Assert.Equal(-11249559, bmp.GetPixel(0, 0).
ToArgb
());
275
Assert.Equal(-11249559, bmp.GetPixel(0, 32).
ToArgb
());
276
Assert.Equal(-11249559, bmp.GetPixel(0, 64).
ToArgb
());
277
Assert.Equal(-11249559, bmp.GetPixel(0, 96).
ToArgb
());
278
Assert.Equal(-11249559, bmp.GetPixel(32, 0).
ToArgb
());
279
Assert.Equal(-16777216, bmp.GetPixel(32, 32).
ToArgb
());
280
Assert.Equal(-11249559, bmp.GetPixel(32, 64).
ToArgb
());
281
Assert.Equal(-11249559, bmp.GetPixel(32, 96).
ToArgb
());
282
Assert.Equal(-11249559, bmp.GetPixel(64, 0).
ToArgb
());
283
Assert.Equal(-16777216, bmp.GetPixel(64, 32).
ToArgb
());
284
Assert.Equal(-11249559, bmp.GetPixel(64, 64).
ToArgb
());
285
Assert.Equal(-11249559, bmp.GetPixel(64, 96).
ToArgb
());
286
Assert.Equal(-11249559, bmp.GetPixel(96, 0).
ToArgb
());
287
Assert.Equal(-11249559, bmp.GetPixel(96, 32).
ToArgb
());
288
Assert.Equal(-11249559, bmp.GetPixel(96, 64).
ToArgb
());
289
Assert.Equal(-11249559, bmp.GetPixel(96, 96).
ToArgb
());
361
Assert.Equal(-12106173, bmp.Palette.Entries[0].
ToArgb
());
362
Assert.Equal(-10979957, bmp.Palette.Entries[1].
ToArgb
());
363
Assert.Equal(-8879241, bmp.Palette.Entries[2].
ToArgb
());
364
Assert.Equal(-10381134, bmp.Palette.Entries[3].
ToArgb
());
365
Assert.Equal(-7441574, bmp.Palette.Entries[4].
ToArgb
());
366
Assert.Equal(-6391673, bmp.Palette.Entries[5].
ToArgb
());
367
Assert.Equal(-5861009, bmp.Palette.Entries[6].
ToArgb
());
368
Assert.Equal(-3824008, bmp.Palette.Entries[7].
ToArgb
());
369
Assert.Equal(-5790569, bmp.Palette.Entries[8].
ToArgb
());
370
Assert.Equal(-6178617, bmp.Palette.Entries[9].
ToArgb
());
371
Assert.Equal(-4668490, bmp.Palette.Entries[10].
ToArgb
());
372
Assert.Equal(-5060143, bmp.Palette.Entries[11].
ToArgb
());
373
Assert.Equal(-3492461, bmp.Palette.Entries[12].
ToArgb
());
374
Assert.Equal(-2967099, bmp.Palette.Entries[13].
ToArgb
());
375
Assert.Equal(-2175574, bmp.Palette.Entries[14].
ToArgb
());
376
Assert.Equal(-1314578, bmp.Palette.Entries[15].
ToArgb
());
396
Assert.Equal(-10381134, bmp.GetPixel(0, 0).
ToArgb
());
397
Assert.Equal(-1314578, bmp.GetPixel(0, 32).
ToArgb
());
398
Assert.Equal(-1314578, bmp.GetPixel(0, 64).
ToArgb
());
399
Assert.Equal(-1314578, bmp.GetPixel(0, 96).
ToArgb
());
400
Assert.Equal(-3824008, bmp.GetPixel(0, 128).
ToArgb
());
401
Assert.Equal(-12106173, bmp.GetPixel(0, 160).
ToArgb
());
402
Assert.Equal(-12106173, bmp.GetPixel(0, 192).
ToArgb
());
403
Assert.Equal(-12106173, bmp.GetPixel(0, 224).
ToArgb
());
404
Assert.Equal(-12106173, bmp.GetPixel(0, 256).
ToArgb
());
405
Assert.Equal(-7441574, bmp.GetPixel(0, 288).
ToArgb
());
406
Assert.Equal(-3492461, bmp.GetPixel(0, 320).
ToArgb
());
407
Assert.Equal(-5861009, bmp.GetPixel(0, 352).
ToArgb
());
408
Assert.Equal(-10381134, bmp.GetPixel(32, 0).
ToArgb
());
409
Assert.Equal(-1314578, bmp.GetPixel(32, 32).
ToArgb
());
410
Assert.Equal(-7441574, bmp.GetPixel(32, 64).
ToArgb
());
411
Assert.Equal(-12106173, bmp.GetPixel(32, 96).
ToArgb
());
412
Assert.Equal(-1314578, bmp.GetPixel(32, 128).
ToArgb
());
413
Assert.Equal(-1314578, bmp.GetPixel(32, 160).
ToArgb
());
414
Assert.Equal(-12106173, bmp.GetPixel(32, 192).
ToArgb
());
415
Assert.Equal(-12106173, bmp.GetPixel(32, 224).
ToArgb
());
416
Assert.Equal(-12106173, bmp.GetPixel(32, 256).
ToArgb
());
417
Assert.Equal(-12106173, bmp.GetPixel(32, 288).
ToArgb
());
418
Assert.Equal(-3492461, bmp.GetPixel(32, 320).
ToArgb
());
419
Assert.Equal(-2175574, bmp.GetPixel(32, 352).
ToArgb
());
420
Assert.Equal(-6178617, bmp.GetPixel(64, 0).
ToArgb
());
421
Assert.Equal(-12106173, bmp.GetPixel(64, 32).
ToArgb
());
422
Assert.Equal(-12106173, bmp.GetPixel(64, 64).
ToArgb
());
423
Assert.Equal(-12106173, bmp.GetPixel(64, 96).
ToArgb
());
424
Assert.Equal(-12106173, bmp.GetPixel(64, 128).
ToArgb
());
425
Assert.Equal(-12106173, bmp.GetPixel(64, 160).
ToArgb
());
426
Assert.Equal(-12106173, bmp.GetPixel(64, 192).
ToArgb
());
427
Assert.Equal(-12106173, bmp.GetPixel(64, 224).
ToArgb
());
428
Assert.Equal(-5790569, bmp.GetPixel(64, 256).
ToArgb
());
429
Assert.Equal(-12106173, bmp.GetPixel(64, 288).
ToArgb
());
430
Assert.Equal(-12106173, bmp.GetPixel(64, 320).
ToArgb
());
431
Assert.Equal(-5790569, bmp.GetPixel(64, 352).
ToArgb
());
432
Assert.Equal(-1314578, bmp.GetPixel(96, 0).
ToArgb
());
433
Assert.Equal(-10381134, bmp.GetPixel(96, 32).
ToArgb
());
434
Assert.Equal(-12106173, bmp.GetPixel(96, 64).
ToArgb
());
435
Assert.Equal(-12106173, bmp.GetPixel(96, 96).
ToArgb
());
436
Assert.Equal(-7441574, bmp.GetPixel(96, 128).
ToArgb
());
437
Assert.Equal(-12106173, bmp.GetPixel(96, 160).
ToArgb
());
438
Assert.Equal(-5790569, bmp.GetPixel(96, 192).
ToArgb
());
439
Assert.Equal(-12106173, bmp.GetPixel(96, 224).
ToArgb
());
440
Assert.Equal(-4668490, bmp.GetPixel(96, 256).
ToArgb
());
441
Assert.Equal(-12106173, bmp.GetPixel(96, 288).
ToArgb
());
442
Assert.Equal(-1314578, bmp.GetPixel(96, 320).
ToArgb
());
443
Assert.Equal(-3492461, bmp.GetPixel(96, 352).
ToArgb
());
444
Assert.Equal(-5861009, bmp.GetPixel(128, 0).
ToArgb
());
445
Assert.Equal(-7441574, bmp.GetPixel(128, 32).
ToArgb
());
446
Assert.Equal(-7441574, bmp.GetPixel(128, 64).
ToArgb
());
447
Assert.Equal(-12106173, bmp.GetPixel(128, 96).
ToArgb
());
448
Assert.Equal(-12106173, bmp.GetPixel(128, 128).
ToArgb
());
449
Assert.Equal(-12106173, bmp.GetPixel(128, 160).
ToArgb
());
450
Assert.Equal(-12106173, bmp.GetPixel(128, 192).
ToArgb
());
451
Assert.Equal(-12106173, bmp.GetPixel(128, 224).
ToArgb
());
452
Assert.Equal(-12106173, bmp.GetPixel(128, 256).
ToArgb
());
453
Assert.Equal(-12106173, bmp.GetPixel(128, 288).
ToArgb
());
454
Assert.Equal(-12106173, bmp.GetPixel(128, 320).
ToArgb
());
455
Assert.Equal(-12106173, bmp.GetPixel(128, 352).
ToArgb
());
456
Assert.Equal(-1314578, bmp.GetPixel(160, 0).
ToArgb
());
457
Assert.Equal(-1314578, bmp.GetPixel(160, 32).
ToArgb
());
458
Assert.Equal(-12106173, bmp.GetPixel(160, 64).
ToArgb
());
459
Assert.Equal(-1314578, bmp.GetPixel(160, 96).
ToArgb
());
460
Assert.Equal(-12106173, bmp.GetPixel(160, 128).
ToArgb
());
461
Assert.Equal(-5790569, bmp.GetPixel(160, 160).
ToArgb
());
462
Assert.Equal(-12106173, bmp.GetPixel(160, 192).
ToArgb
());
mono\System.Drawing.Imaging\TiffCodecTests.cs (36)
76
Assert.Equal(-1579559, bmp.GetPixel(0, 0).
ToArgb
());
77
Assert.Equal(-1645353, bmp.GetPixel(0, 32).
ToArgb
());
78
Assert.Equal(-461332, bmp.GetPixel(0, 64).
ToArgb
());
79
Assert.Equal(-330005, bmp.GetPixel(0, 96).
ToArgb
());
80
Assert.Equal(-2237489, bmp.GetPixel(0, 128).
ToArgb
());
81
Assert.Equal(-1251105, bmp.GetPixel(0, 160).
ToArgb
());
82
Assert.Equal(-3024947, bmp.GetPixel(32, 0).
ToArgb
());
83
Assert.Equal(-2699070, bmp.GetPixel(32, 32).
ToArgb
());
84
Assert.Equal(-2366734, bmp.GetPixel(32, 64).
ToArgb
());
85
Assert.Equal(-4538413, bmp.GetPixel(32, 96).
ToArgb
());
86
Assert.Equal(-6116681, bmp.GetPixel(32, 128).
ToArgb
());
87
Assert.Equal(-7369076, bmp.GetPixel(32, 160).
ToArgb
());
88
Assert.Equal(-13024729, bmp.GetPixel(64, 0).
ToArgb
());
89
Assert.Equal(-7174020, bmp.GetPixel(64, 32).
ToArgb
());
90
Assert.Equal(-51, bmp.GetPixel(64, 64).
ToArgb
());
91
Assert.Equal(-16053503, bmp.GetPixel(64, 96).
ToArgb
());
92
Assert.Equal(-8224431, bmp.GetPixel(64, 128).
ToArgb
());
93
Assert.Equal(-16579326, bmp.GetPixel(64, 160).
ToArgb
());
94
Assert.Equal(-2502457, bmp.GetPixel(96, 0).
ToArgb
());
95
Assert.Equal(-9078395, bmp.GetPixel(96, 32).
ToArgb
());
96
Assert.Equal(-12696508, bmp.GetPixel(96, 64).
ToArgb
());
97
Assert.Equal(-70772, bmp.GetPixel(96, 96).
ToArgb
());
98
Assert.Equal(-4346279, bmp.GetPixel(96, 128).
ToArgb
());
99
Assert.Equal(-11583193, bmp.GetPixel(96, 160).
ToArgb
());
100
Assert.Equal(-724763, bmp.GetPixel(128, 0).
ToArgb
());
101
Assert.Equal(-7238268, bmp.GetPixel(128, 32).
ToArgb
());
102
Assert.Equal(-2169612, bmp.GetPixel(128, 64).
ToArgb
());
103
Assert.Equal(-3683883, bmp.GetPixel(128, 96).
ToArgb
());
104
Assert.Equal(-12892867, bmp.GetPixel(128, 128).
ToArgb
());
105
Assert.Equal(-3750464, bmp.GetPixel(128, 160).
ToArgb
());
106
Assert.Equal(-3222844, bmp.GetPixel(160, 0).
ToArgb
());
107
Assert.Equal(-65806, bmp.GetPixel(160, 32).
ToArgb
());
108
Assert.Equal(-2961726, bmp.GetPixel(160, 64).
ToArgb
());
109
Assert.Equal(-2435382, bmp.GetPixel(160, 96).
ToArgb
());
110
Assert.Equal(-2501944, bmp.GetPixel(160, 128).
ToArgb
());
111
Assert.Equal(-9211799, bmp.GetPixel(160, 160).
ToArgb
());
mono\System.Drawing\BitmapTests.cs (6)
127
Assert.Equal(-16777216, c.
ToArgb
());
136
Assert.Equal(-16777216, c.
ToArgb
());
145
Assert.Equal(-16777216, c.
ToArgb
());
824
Assert.Equal(s_palette1[i], pal.Entries[i].
ToArgb
());
858
Assert.Equal(s_palette16[i], pal.Entries[i].
ToArgb
());
1132
Assert.Equal(s_palette256[i], pal.Entries[i].
ToArgb
());
mono\System.Drawing\GraphicsTests.cs (214)
63
int empty = Color.Empty.
ToArgb
();
68
if (bitmap.GetPixel(x, y).
ToArgb
() != empty)
1198
Assert.Equal(Color.Red.
ToArgb
(), bitmap.GetPixel(5, 5).
ToArgb
());
1199
Assert.Equal(Color.Red.
ToArgb
(), bitmap.GetPixel(14, 5).
ToArgb
());
1200
Assert.Equal(Color.Red.
ToArgb
(), bitmap.GetPixel(5, 14).
ToArgb
());
1201
Assert.Equal(Color.Red.
ToArgb
(), bitmap.GetPixel(14, 14).
ToArgb
());
1203
Assert.Equal(Color.Fuchsia.
ToArgb
(), bitmap.GetPixel(15, 5).
ToArgb
());
1204
Assert.Equal(Color.Fuchsia.
ToArgb
(), bitmap.GetPixel(5, 15).
ToArgb
());
1205
Assert.Equal(Color.Fuchsia.
ToArgb
(), bitmap.GetPixel(15, 15).
ToArgb
());
1236
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 4).
ToArgb
());
1237
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 5).
ToArgb
());
1238
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 6).
ToArgb
());
1240
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 4).
ToArgb
());
1241
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 5).
ToArgb
());
1242
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 6).
ToArgb
());
1244
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 4).
ToArgb
());
1245
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 5).
ToArgb
());
1246
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 6).
ToArgb
());
1248
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 9).
ToArgb
());
1249
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 9).
ToArgb
());
1250
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 9).
ToArgb
());
1252
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 16).
ToArgb
());
1253
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 15).
ToArgb
());
1254
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 14).
ToArgb
());
1256
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 16).
ToArgb
());
1257
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 15).
ToArgb
());
1258
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 14).
ToArgb
());
1260
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 16).
ToArgb
());
1261
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 15).
ToArgb
());
1262
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 14).
ToArgb
());
1264
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 9).
ToArgb
());
1265
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 9).
ToArgb
());
1266
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 9).
ToArgb
());
1275
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 3).
ToArgb
());
1276
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 4).
ToArgb
());
1277
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 5).
ToArgb
());
1278
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 6).
ToArgb
());
1280
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 3).
ToArgb
());
1281
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 4).
ToArgb
());
1282
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 5).
ToArgb
());
1283
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 6).
ToArgb
());
1285
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 3).
ToArgb
());
1286
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 4).
ToArgb
());
1287
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(14, 5).
ToArgb
());
1288
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(13, 6).
ToArgb
());
1290
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 9).
ToArgb
());
1291
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 9).
ToArgb
());
1292
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(14, 9).
ToArgb
());
1293
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(13, 9).
ToArgb
());
1295
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 16).
ToArgb
());
1296
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 15).
ToArgb
());
1297
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(14, 14).
ToArgb
());
1298
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(13, 13).
ToArgb
());
1300
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 16).
ToArgb
());
1301
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 15).
ToArgb
());
1302
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 14).
ToArgb
());
1303
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 13).
ToArgb
());
1305
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 16).
ToArgb
());
1306
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 15).
ToArgb
());
1307
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 14).
ToArgb
());
1308
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 13).
ToArgb
());
1310
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 9).
ToArgb
());
1311
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 9).
ToArgb
());
1312
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 9).
ToArgb
());
1313
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 9).
ToArgb
());
1322
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 3).
ToArgb
());
1323
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 4).
ToArgb
());
1324
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 5).
ToArgb
());
1325
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(6, 6).
ToArgb
());
1326
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(7, 7).
ToArgb
());
1328
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 3).
ToArgb
());
1329
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 4).
ToArgb
());
1330
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 5).
ToArgb
());
1331
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 6).
ToArgb
());
1332
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 7).
ToArgb
());
1334
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(17, 3).
ToArgb
());
1335
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(16, 4).
ToArgb
());
1336
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 5).
ToArgb
());
1337
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(14, 6).
ToArgb
());
1338
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(13, 7).
ToArgb
());
1340
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(17, 9).
ToArgb
());
1341
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(16, 9).
ToArgb
());
1342
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 9).
ToArgb
());
1343
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(14, 9).
ToArgb
());
1344
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(13, 9).
ToArgb
());
1346
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(17, 17).
ToArgb
());
1347
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(16, 16).
ToArgb
());
1348
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 15).
ToArgb
());
1349
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(14, 14).
ToArgb
());
1350
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(13, 13).
ToArgb
());
1352
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 17).
ToArgb
());
1353
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 16).
ToArgb
());
1354
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 15).
ToArgb
());
1355
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 14).
ToArgb
());
1356
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 13).
ToArgb
());
1358
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 17).
ToArgb
());
1359
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 16).
ToArgb
());
1360
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 15).
ToArgb
());
1361
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(6, 14).
ToArgb
());
1362
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(7, 13).
ToArgb
());
1364
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 9).
ToArgb
());
1365
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 9).
ToArgb
());
1366
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 9).
ToArgb
());
1367
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(6, 9).
ToArgb
());
1368
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(7, 9).
ToArgb
());
1401
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 4).
ToArgb
());
1402
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(5, 5).
ToArgb
());
1403
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 6).
ToArgb
());
1405
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 4).
ToArgb
());
1406
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 5).
ToArgb
());
1407
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 6).
ToArgb
());
1409
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 4).
ToArgb
());
1410
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 5).
ToArgb
());
1411
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 6).
ToArgb
());
1413
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 9).
ToArgb
());
1414
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 9).
ToArgb
());
1415
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 9).
ToArgb
());
1417
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 16).
ToArgb
());
1418
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 15).
ToArgb
());
1419
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 14).
ToArgb
());
1421
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 16).
ToArgb
());
1422
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 15).
ToArgb
());
1423
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 14).
ToArgb
());
1425
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 16).
ToArgb
());
1426
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 15).
ToArgb
());
1427
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 14).
ToArgb
());
1429
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 9).
ToArgb
());
1430
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(5, 9).
ToArgb
());
1431
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 9).
ToArgb
());
1441
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 3).
ToArgb
());
1442
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 4).
ToArgb
());
1443
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(5, 5).
ToArgb
());
1445
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 3).
ToArgb
());
1446
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 4).
ToArgb
());
1447
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 5).
ToArgb
());
1449
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 3).
ToArgb
());
1450
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 4).
ToArgb
());
1451
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 5).
ToArgb
());
1453
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 9).
ToArgb
());
1454
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 9).
ToArgb
());
1455
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 9).
ToArgb
());
1457
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 16).
ToArgb
());
1458
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 15).
ToArgb
());
1459
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 14).
ToArgb
());
1461
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 16).
ToArgb
());
1462
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 15).
ToArgb
());
1463
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 14).
ToArgb
());
1465
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 16).
ToArgb
());
1466
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 15).
ToArgb
());
1467
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(5, 14).
ToArgb
());
1469
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 9).
ToArgb
());
1470
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 9).
ToArgb
());
1471
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(5, 9).
ToArgb
());
1480
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 3).
ToArgb
());
1481
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 4).
ToArgb
());
1482
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(5, 5).
ToArgb
());
1484
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 3).
ToArgb
());
1485
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 4).
ToArgb
());
1486
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 5).
ToArgb
());
1488
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(17, 3).
ToArgb
());
1489
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(16, 4).
ToArgb
());
1490
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 4).
ToArgb
());
1491
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 5).
ToArgb
());
1493
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(17, 9).
ToArgb
());
1494
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(16, 9).
ToArgb
());
1495
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 9).
ToArgb
());
1496
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 9).
ToArgb
());
1498
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(17, 17).
ToArgb
());
1499
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(16, 16).
ToArgb
());
1500
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 15).
ToArgb
());
1501
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(14, 14).
ToArgb
());
1503
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(9, 17).
ToArgb
());
1504
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 16).
ToArgb
());
1505
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(9, 15).
ToArgb
());
1506
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(9, 14).
ToArgb
());
1508
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 17).
ToArgb
());
1509
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 16).
ToArgb
());
1510
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 15).
ToArgb
());
1511
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(6, 14).
ToArgb
());
1513
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(3, 9).
ToArgb
());
1514
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(4, 9).
ToArgb
());
1515
Assert.Equal(0xFF008000, (uint)bitmap.GetPixel(5, 9).
ToArgb
());
1545
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 4).
ToArgb
());
1546
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 5).
ToArgb
());
1547
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(4, 6).
ToArgb
());
1548
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(5, 4).
ToArgb
());
1549
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(5, 5).
ToArgb
());
1550
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(5, 6).
ToArgb
());
1552
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(14, 4).
ToArgb
());
1553
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(14, 5).
ToArgb
());
1554
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(14, 6).
ToArgb
());
1555
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(15, 4).
ToArgb
());
1556
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 5).
ToArgb
());
1557
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 6).
ToArgb
());
1558
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 4).
ToArgb
());
1559
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 5).
ToArgb
());
1560
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 6).
ToArgb
());
1562
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(14, 15).
ToArgb
());
1563
Assert.Equal(0xFF0000FF, (uint)bitmap.GetPixel(15, 15).
ToArgb
());
1564
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 15).
ToArgb
());
1565
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(14, 16).
ToArgb
());
1566
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(15, 16).
ToArgb
());
1567
Assert.Equal(0xFFFF0000, (uint)bitmap.GetPixel(16, 16).
ToArgb
());
2889
Assert.Equal(-12156236, bmp.GetPixel(0, 9).
ToArgb
());
2890
Assert.Equal(-1, bmp.GetPixel(1, 9).
ToArgb
());
2931
Assert.Equal(-12156236, bmp.GetPixel(0, 9).
ToArgb
());
2932
Assert.Equal(-12156236, bmp.GetPixel(1, 9).
ToArgb
());
System\Drawing\BitmapTests.cs (3)
1440
Assert.Equal(expectedEntries, bitmap.Palette.Entries.Select(c => c.
ToArgb
()));
1465
Color red = Color.FromArgb(Color.Red.
ToArgb
());
1466
Color blue = Color.FromArgb(Color.Blue.
ToArgb
());
System\Drawing\Drawing2D\HatchBrushTests.cs (6)
22
Assert.Equal(foreColor.
ToArgb
(), brush.ForegroundColor.
ToArgb
());
41
Assert.Equal(foreColor.
ToArgb
(), brush.ForegroundColor.
ToArgb
());
44
Assert.Equal(backColor.
ToArgb
(), brush.BackgroundColor.
ToArgb
());
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (19)
30
Assert.Equal(new Color[] { Color.FromArgb(color1.
ToArgb
()), Color.FromArgb(color2.
ToArgb
()) }, brush.LinearColors);
57
Assert.Equal(new Color[] { Color.FromArgb(color1.
ToArgb
()), Color.FromArgb(color2.
ToArgb
()) }, brush.LinearColors);
91
Assert.Equal(new Color[] { Color.FromArgb(color1.
ToArgb
()), Color.FromArgb(color2.
ToArgb
()) }, brush.LinearColors);
108
Assert.Equal(new Color[] { Color.FromArgb(color1.
ToArgb
()), Color.FromArgb(color2.
ToArgb
()) }, brush.LinearColors);
134
Assert.Equal(new Color[] { Color.FromArgb(color1.
ToArgb
()), Color.FromArgb(color2.
ToArgb
()) }, brush.LinearColors);
151
Assert.Equal(new Color[] { Color.FromArgb(color1.
ToArgb
()), Color.FromArgb(color2.
ToArgb
()) }, brush.LinearColors);
177
Assert.Equal(new Color[] { Color.FromArgb(color1.
ToArgb
()), Color.FromArgb(color2.
ToArgb
()) }, brush.LinearColors);
194
Assert.Equal(new Color[] { Color.FromArgb(color1.
ToArgb
()), Color.FromArgb(color2.
ToArgb
()) }, brush.LinearColors);
383
Assert.Equal(blend.Colors.Select(c => Color.FromArgb(c.
ToArgb
())), brush.InterpolationColors.Colors);
404
Assert.Equal(blend.Colors.Select(c => Color.FromArgb(c.
ToArgb
())), brush.InterpolationColors.Colors);
536
Assert.Equal(colors.Take(2).Select(c => Color.FromArgb(c.
ToArgb
())), brush.LinearColors);
System\Drawing\Drawing2D\PathGradientBrushTests.cs (6)
141
Assert.Equal(Color.Black.
ToArgb
(), brush.CenterColor.
ToArgb
());
143
Assert.Equal(Color.Blue.
ToArgb
(), brush.CenterColor.
ToArgb
());
145
Assert.Equal(Color.Transparent.
ToArgb
(), brush.CenterColor.
ToArgb
());
System\Drawing\GraphicsTests.cs (6)
819
Color red = Color.FromArgb(Color.Red.
ToArgb
());
858
Color red = Color.FromArgb(Color.Red.
ToArgb
());
1065
Color red = Color.FromArgb(Color.Red.
ToArgb
());
1540
Color plum = Color.FromArgb(Color.Plum.
ToArgb
());
1916
yield return new object[] { PixelFormat.Format32bppArgb, Color.Red, Color.FromArgb(Color.Red.
ToArgb
()) };
2736
Color color = Color.FromArgb(Color.Plum.
ToArgb
());
System\Drawing\IconTests.cs (4)
766
Assert.Equal(0x879EE532u, (uint)bitmap.GetPixel(0, 0).
ToArgb
());
767
Assert.Equal(0x661CD8B7u, (uint)bitmap.GetPixel(0, 31).
ToArgb
());
773
Assert.Equal(0x00000000u, (uint)bitmap.GetPixel(0, 0).
ToArgb
());
774
Assert.Equal(0xFF000000u, (uint)bitmap.GetPixel(0, 31).
ToArgb
());
System\Drawing\PenTests.cs (2)
70
Assert.Equal(Color.FromArgb(Color.Red.
ToArgb
()), pen.Color);
239
Assert.Equal(Color.FromArgb(Color.Red.
ToArgb
()), pen.Color);
System\Drawing\SolidBrushTests.cs (2)
29
Assert.Equal(brush.Color.
ToArgb
(), clone.Color.
ToArgb
());
System.Drawing.Primitives (2)
src\libraries\Common\src\System\Drawing\ColorConverterCommon.cs (2)
77
int targetARGB = color.
ToArgb
();
81
if (c.
ToArgb
() == targetARGB)
System.Private.Windows.Core (1)
Windows\Win32\Graphics\Gdi\ARGB.cs (1)
42
public static implicit operator ARGB(in Color color) => new((uint)color.
ToArgb
());
System.Windows.Forms (7)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
360
if (ForeColor.
ToArgb
() == SystemColors.WindowText.
ToArgb
())
366
int colorRGB = ForeColor.
ToArgb
();
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
382
return SystemColors.Control.
ToArgb
() == Color.Black.
ToArgb
();
System\Windows\Forms\Rendering\ControlPaint.cs (2)
2134
|| t_focusPenColor.
ToArgb
() != baseColor.
ToArgb
())
System.Windows.Forms.Design (2)
System\Drawing\Design\ColorEditor.ColorUI.cs (2)
105
int rgb = color.
ToArgb
();
108
if (colors[i].
ToArgb
() == rgb)
System.Windows.Forms.Primitives (6)
System\Windows\Forms\DeviceContextExtensions.cs (2)
120
return newColor.
ToArgb
() == color.
ToArgb
() ? color : newColor;
System\Windows\Forms\SystemDrawingExtensions.cs (4)
35
return newColor.
ToArgb
() == color.
ToArgb
() ? color : newColor;
105
? new Pen(Color.FromArgb(color.
ToArgb
())) { DashStyle = dashStyle }
121
? new SolidBrush(Color.FromArgb(color.
ToArgb
()))
System.Windows.Forms.Primitives.Tests (3)
Interop\GdiPlus\ARGBTests.cs (3)
33
Assert.Equal((uint)color.
ToArgb
(), argb.Value);
35
Assert.Equal(color.
ToArgb
(), backAgain.
ToArgb
());
System.Windows.Forms.Tests (9)
System\Windows\Forms\Printing\PrintPreviewControlTests.cs (6)
17
Assert.Equal(SystemColors.AppWorkspace.
ToArgb
(), actualBackColorArgb);
22
Assert.Equal(Color.Green.
ToArgb
(), actualBackColorArgb);
32
Assert.Equal(SystemColors.ControlDarkDark.
ToArgb
(), actualBackColorArgb);
34
Assert.False(SystemColors.AppWorkspace.
ToArgb
().Equals(actualBackColorArgb));
40
Assert.Equal(Color.Green.
ToArgb
(), actualBackColorArgb);
41
Assert.False(SystemColors.AppWorkspace.
ToArgb
().Equals(actualBackColorArgb));
System\Windows\Forms\TabPageTests.cs (3)
639
Assert.Equal(expected.
ToArgb
(), control.BackColor.
ToArgb
());
640
}, useVisualStyleBackColorParam.ToString(), parentAppearanceParam.ToString(), expectedParam.
ToArgb
().ToString()).Dispose();