Lines Matching full:red
311 Color red(0xFFFF0000), darkRed(0xFFBF0000);
314 // Make a red bottom layer, followed by a half green next layer @ 50%.
318 src->context()->fillRect(fullRect, red, DeviceColorSpace);
348 EXPECT_EQ(red, getPixelAt(src->context(), 0, 0));
349 EXPECT_EQ(red, getPixelAt(src->context(), 1, 1));
353 // (black @ 50% atop green) @ 50% atop red = 0xFF804000
358 // 50% green on top of red = FF808000 (rounded to what Skia will produce).
377 Color red(0xFFFF0000);
388 // Draw a red pixel at (15, 15). This should be the at (15, 7) after
430 // Now draw 50% red square.
441 // Fill with red.
466 // Our red square should be 25% red over the top of those two.
486 // The background is white on top with red on bottom.
490 Color red(0xFFFF0000);
492 src->context()->fillRect(bottomRect, red, DeviceColorSpace);
510 // Now draw 50% red square.
521 // Fill with red.
592 // the top half with red, and have the layer be 50% opaque.
621 Color redBackground(0xFFFF8080); // 50% red composited on white.
626 // red = 0xFF804141. Then that's composited with 50% transparency on solid