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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=362021#c6





--- Comment #6 from Sebastien Pouliot <[EMAIL PROTECTED]>  2008-02-18 14:02:38 
MST ---
So splitting the "bad" Arc into 2 beziers doesn't fix the problem (for
moonlight) but still render correctly on Silverlight (so computation are ok).

<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation";
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml";>

<Path Name="3" Fill="Red" Canvas.Left="350" Canvas.Top="170" Data="M
-18.44149506827701,98.28484755874995 C -69.1964,88.7615 -104.352,42.1582
-99.5703,-9.26054 C-94.7881,-60.6793 -51.6406,-100 -8.34888e-14,-100 L 0,0"
Stroke="Gray"></Path>

<Path Name="4" Fill="Green" Canvas.Left="150" Canvas.Top="170" Data="M
-18.44149506827701,98.28484755874995 A 100,100 2.956116083455112 0 1
-2.4492127076447545e-14,-100 L 0,0" Stroke="Gray"></Path>
</Canvas>

The same stuff in SVG renders fine in Firefox

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink";>
        <title>bad arc</title>
        <g fill="green" stroke="black" transform="matrix(1,0,0,1,150,170)">
                <path stroke-width="1" d="M
-18.44149506827701,98.28484755874995 A 100,100 2.956116083455112 0 1
-2.4492127076447545e-14,-100 L 0,0"/>
        </g>
        <g fill="red" stroke="black" transform="matrix(1,0,0,1,350,170)">
                <path stroke-width="1" d="M
-20.653868479785206,97.8438435304937 C-69.1964,88.7615 -104.352,42.1582
-99.5703,-9.26054 C-94.7881,-60.6793 -51.6406,-100 -8.34888e-14,-100 L 0,0"/>
        </g>
</svg>


-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to