Lines Matching refs:white
282 // Make a total transparent buffer, and draw the white layer inset by 1 px.
298 // The final image should be transparent around the edges for 1 px, white
301 EXPECT_EQ(Color(Color::white), getPixelAt(src->context(), 2, 2));
303 EXPECT_EQ(Color(Color::white), getPixelAt(src->context(), 4, 4));
364 // Fill with white.
366 Color white(0xFFFFFFFF);
368 src->context()->fillRect(fullRect, white, ColorSpaceDeviceRGB);
404 // The background is white.
405 Color white(0xFFFFFFFF);
407 src->context()->fillRect(fullRect, white, ColorSpaceDeviceRGB);
448 EXPECT_EQ(white, getPixelAt(src->context(), 0, 0));
452 EXPECT_EQ(white, getPixelAt(src->context(), 6, 0));
455 EXPECT_EQ(white, getPixelAt(src->context(), 9, 0));
458 EXPECT_EQ(white, getPixelAt(src->context(), 6, 15));
461 EXPECT_EQ(white, getPixelAt(src->context(), 9, 15));
466 EXPECT_EQ(white, getPixelAt(src->context(), 0, 1));
473 EXPECT_EQ(white, getPixelAt(src->context(), 15, 1));
483 // The background is white on top with red on bottom.
484 Color white(0xFFFFFFFF);
486 src->context()->fillRect(topRect, white, ColorSpaceDeviceRGB);
528 // Create an opaque white buffer.
531 src->context()->fillRect(fullBuffer, Color::white, ColorSpaceDeviceRGB);
567 // fixed back up to white.
572 // EXPECT_EQ(Color(Color::white), getPixelAt(src->context(), 2, 2));
581 // Create an opaque white buffer.
584 src->context()->fillRect(fullBuffer, Color::white, ColorSpaceDeviceRGB);
616 Color redBackground(0xFFFF8080); // 50% red composited on white.
622 // white = 0xFFC0A1A1.
628 // with another 50% opacity composited atop white.
633 Color white(0xFFFFFFFF); // Background in the lower-right.
634 EXPECT_EQ(white, getPixelAt(src->context(), 14, 14));
635 EXPECT_EQ(white, getPixelAt(src->context(), 15, 15));