Lines Matching refs:getColor
65 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0x00000000); in test_gif_data_no_colormap()
76 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_gif_data()
77 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_gif_data()
78 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_gif_data()
79 REPORTER_ASSERT(r, bm.getColor(0, 1) == 0xff808080); in test_gif_data()
80 REPORTER_ASSERT(r, bm.getColor(1, 1) == 0xff000000); in test_gif_data()
81 REPORTER_ASSERT(r, bm.getColor(2, 1) == 0xff00ff00); in test_gif_data()
82 REPORTER_ASSERT(r, bm.getColor(0, 2) == 0xffffffff); in test_gif_data()
83 REPORTER_ASSERT(r, bm.getColor(1, 2) == 0xffff00ff); in test_gif_data()
84 REPORTER_ASSERT(r, bm.getColor(2, 2) == 0xff0000ff); in test_gif_data()
106 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_interlaced_gif_data()
107 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_interlaced_gif_data()
108 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_interlaced_gif_data()
110 REPORTER_ASSERT(r, bm.getColor(0, 2) == 0xffffffff); in test_interlaced_gif_data()
111 REPORTER_ASSERT(r, bm.getColor(1, 2) == 0xffff00ff); in test_interlaced_gif_data()
112 REPORTER_ASSERT(r, bm.getColor(2, 2) == 0xff0000ff); in test_interlaced_gif_data()
114 REPORTER_ASSERT(r, bm.getColor(0, 4) == 0xff808080); in test_interlaced_gif_data()
115 REPORTER_ASSERT(r, bm.getColor(1, 4) == 0xff000000); in test_interlaced_gif_data()
116 REPORTER_ASSERT(r, bm.getColor(2, 4) == 0xff00ff00); in test_interlaced_gif_data()
118 REPORTER_ASSERT(r, bm.getColor(0, 6) == 0xffff0000); in test_interlaced_gif_data()
119 REPORTER_ASSERT(r, bm.getColor(1, 6) == 0xffffff00); in test_interlaced_gif_data()
120 REPORTER_ASSERT(r, bm.getColor(2, 6) == 0xff00ffff); in test_interlaced_gif_data()
122 REPORTER_ASSERT(r, bm.getColor(0, 8) == 0xffffffff); in test_interlaced_gif_data()
123 REPORTER_ASSERT(r, bm.getColor(1, 8) == 0xffff00ff); in test_interlaced_gif_data()
124 REPORTER_ASSERT(r, bm.getColor(2, 8) == 0xff0000ff); in test_interlaced_gif_data()
138 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_gif_data_short()
139 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_gif_data_short()
140 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_gif_data_short()
141 REPORTER_ASSERT(r, bm.getColor(0, 1) == 0xff808080); in test_gif_data_short()
142 REPORTER_ASSERT(r, bm.getColor(1, 1) == 0xff000000); in test_gif_data_short()
143 REPORTER_ASSERT(r, bm.getColor(2, 1) == 0xff00ff00); in test_gif_data_short()
226 REPORTER_ASSERT(reporter, bm.getColor(0, 0) == 0x00000000); in DEF_TEST()
284 REPORTER_ASSERT(r, bm.getColor(0, 7) != 0); in DEF_TEST()
506 auto actual = bm.getColor(pixel.x, pixel.y); in DEF_TEST()
594 auto actual = bm.getColor(x, y); in DEF_TEST()
644 REPORTER_ASSERT(r, bm.getColor(0, 0) == SK_ColorRED); in DEF_TEST()