|
Bugzilla – Full Text Bug Listing |
| Summary: | FillRule="EvenOdd" seems not to work | ||
|---|---|---|---|
| Product: | [Mono] Moonlight | Reporter: | Werner Bochtler <werner.bochtler> |
| Component: | xaml | Assignee: | Mono Bugs <mono-bugs> |
| Status: | REOPENED --- | QA Contact: | Mono Bugs <mono-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 11.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | demo application and screenshots | ||
The previous example works. Please use the following XAML to reproduce the problem:
<UserControl x:Class="EvenOdd.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
<Grid x:Name="LayoutRoot" Background="White" HorizontalAlignment="Center" VerticalAlignment="Center" Height="160">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="300"/>
<ColumnDefinition Width="50"/>
<ColumnDefinition Width="300"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" BorderThickness="1" BorderBrush="Black" CornerRadius="3">
<Border.Clip>
<GeometryGroup FillRule="EvenOdd">
<RectangleGeometry x:Name="FullRect" Rect="0,0,300,200"/>
<RectangleGeometry x:Name="HeaderRect" Rect="6,0,100,100"/>
</GeometryGroup>
</Border.Clip>
</Border>
<Border Grid.Column="2" BorderThickness="1" BorderBrush="Black" CornerRadius="3">
<Border.Clip>
<GeometryGroup FillRule="Nonzero">
<RectangleGeometry x:Name="FullRect2" Rect="0,0,300,200"/>
<RectangleGeometry x:Name="HeaderRect2" Rect="6,0,100,100"/>
</GeometryGroup>
</Border.Clip>
</Border>
</Grid>
</UserControl>
I get identical results on Moonlight and Silverlight now. Closing this bug. I get identical results on Moonlight and Silverlight now. Closing this bug. Created attachment 415732 [details]
demo application and screenshots
The problem again (still?) occurs using moonlight 3.99.01.
Please find attached a demo application and two screenshots.
Changed status from resolved to reopened. |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) FillRule="EvenOdd" seems not to work. Reproducible: Always Steps to Reproduce: Try the example given below: <Grid x:Name="LayoutRoot"> <Path Stroke="Black" StrokeThickness="1" Fill="#CCCCFF"> <Path.Data> <GeometryGroup FillRule="EvenOdd"> <EllipseGeometry RadiusX="50" RadiusY="50" Center="175,175" /> <EllipseGeometry RadiusX="70" RadiusY="70" Center="175,175" /> <EllipseGeometry RadiusX="100" RadiusY="100" Center="175,175" /> <EllipseGeometry RadiusX="120" RadiusY="120" Center="175,175" /> </GeometryGroup> </Path.Data> </Path> <Path Stroke="Black" StrokeThickness="1" Fill="#CCCCFF"> <Path.Data> <GeometryGroup FillRule="Nonzero"> <EllipseGeometry RadiusX="50" RadiusY="50" Center="475,175" /> <EllipseGeometry RadiusX="70" RadiusY="70" Center="475,175" /> <EllipseGeometry RadiusX="100" RadiusY="100" Center="475,175" /> <EllipseGeometry RadiusX="120" RadiusY="120" Center="475,175" /> </GeometryGroup> </Path.Data> </Path> </Grid> Actual Results: FillRule="EvenOdd" and FillRule="Nonzero" produce the same output. Expected Results: Differnt output