class OpacityShapeTest_TranslucentOverTranslucent_Test
Defined at line 292 of file ../../src/ui/lib/escher/test/integration/opacity_unittest.cc
We draw the following scene:
+--------+---------+---------+---------+
| | |
| | |
| | |
+ Cyan(25%) | WHITE |
| (0, 1, 1, 0.25) | |
| | |
| | |
+ ====================|
| ǁ | |
| ǁ Blend | |
| ǁ | |
+------------------ǁ---------+ |
| WHITE ǁ Yellow 50% |
| (1, 1, 1, 1) ǁ (1, 1, 0, 1) |
| ǁ |
+--------+---------+---------+---------+
The Yellow rectangle is over Cyan rectangle, which
is over the white background.
8/16 of the area should be (0.75, 1, 1, 1);
4/16 of the area should be (1, 1, 1, 1);
3/16 of the area should be (1, 1, 0.5, 1);
1/16 of the area should be (0.825, 1, 0.5, 1).
Public Methods
void OpacityShapeTest_TranslucentOverTranslucent_Test ()
Defined at line 292 of file ../../src/ui/lib/escher/test/integration/opacity_unittest.cc
void OpacityShapeTest_TranslucentOverTranslucent_Test (const OpacityShapeTest_TranslucentOverTranslucent_Test & )
Defined at line 292 of file ../../src/ui/lib/escher/test/integration/opacity_unittest.cc
OpacityShapeTest_TranslucentOverTranslucent_Test & operator= (const OpacityShapeTest_TranslucentOverTranslucent_Test & )
Defined at line 292 of file ../../src/ui/lib/escher/test/integration/opacity_unittest.cc