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