[Mono-bugs] [Bug 346308] Bad LinearGradientBrush rendering for Absolute

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 5 14:54:40 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=346308

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=346308#c1





--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2007-12-05 12:54:40 MST ---
<Canvas xmlns="http://schemas.microsoft.com/client/2007">
        <!-- removing Canvas.Top gets Moonlight close to the right value -->
        <Rectangle Canvas.Top="200" Width="100" Height="200">
        <Rectangle.Fill>
                <LinearGradientBrush MappingMode="Absolute" StartPoint="40,100"
EndPoint="0,150">
                        <GradientBrush.GradientStops>
                                <GradientStopCollection>
                                        <GradientStop Color="#FFFF0000"
Offset="0.0" />
                                        <GradientStop Color="#FF00FF00"
Offset="0.5" />
                                        <GradientStop Color="#FF0000FF"
Offset="1.0" />
                                </GradientStopCollection>
                        </GradientBrush.GradientStops>
                </LinearGradientBrush>
        </Rectangle.Fill>
        </Rectangle>
</Canvas>


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list