class OpacityShapeTest_OpaqueOverTranslucent_Test

Defined at line 216 of file ../../src/ui/lib/escher/test/integration/opacity_unittest.cc

We draw the following scene:

+--------+---------+---------+---------+

| | |

| | |

| | |

+ Cyan(75%) | BLACK |

| (0, 1, 1, 0.75) | |

| | |

| | |

+ ====================|

| ǁ |

| ǁ |

| ǁ Yellow |

+------------------ǁ (1, 1, 0, 1) |

| BLACK ǁ |

| (0, 0, 0, 1) ǁ |

| ǁ |

+--------+---------+---------+---------+

The Yellow rectangle is over Cyan rectangle, which

is over the black background.

4/16 of the area should be Yellow (1, 1, 0, 1);

4/16 of the area should be Black (0, 0 ,0, 1);

8/16 of the area should be 75% Cyan (0, 0.75, 0.75, 1);

Public Methods

void OpacityShapeTest_OpaqueOverTranslucent_Test ()

Defined at line 216 of file ../../src/ui/lib/escher/test/integration/opacity_unittest.cc

void OpacityShapeTest_OpaqueOverTranslucent_Test (const OpacityShapeTest_OpaqueOverTranslucent_Test & )

Defined at line 216 of file ../../src/ui/lib/escher/test/integration/opacity_unittest.cc

OpacityShapeTest_OpaqueOverTranslucent_Test & operator= (const OpacityShapeTest_OpaqueOverTranslucent_Test & )

Defined at line 216 of file ../../src/ui/lib/escher/test/integration/opacity_unittest.cc