Author: lewing
Date: 2008-01-16 13:13:35 -0500 (Wed, 16 Jan 2008)
New Revision: 93074

Added:
   trunk/moon/test/xaml/test-sibling-opacity.xaml
Log:
New test for opacity between siblings in a canvas.  Also tests fill 
stroke+stroke opacity.


Added: trunk/moon/test/xaml/test-sibling-opacity.xaml
===================================================================
--- trunk/moon/test/xaml/test-sibling-opacity.xaml      2008-01-16 18:06:57 UTC 
(rev 93073)
+++ trunk/moon/test/xaml/test-sibling-opacity.xaml      2008-01-16 18:13:35 UTC 
(rev 93074)
@@ -0,0 +1,12 @@
+<Canvas xmlns="http://schemas.microsoft.com/client/2007";>
+        <Canvas Opacity="0.5">
+               <Rectangle Fill="Red" StrokeThickness="10" Stroke="Green" 
Width="100" Height="100" />
+                <!-- this should be drawn over the previous rectangle (no 
blending) -->
+                <Rectangle Canvas.Left="50" Canvas.Top="50" Fill="Blue" 
Width="100"
+Height="100" />
+        </Canvas>
+       <!-- these should overlap -->
+       <Rectangle Opacity="0.5" Fill="Red" StrokeThickness="10" Stroke="Green" 
Width="100" Height="100" Canvas.Top="200"/>
+       <Rectangle Opacity="0.5" Canvas.Top="250" Canvas.Left="50" Fill="Blue" 
Width="100" Height="100" />
+</Canvas>
+

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to