[Mono-bugs] [Bug 362021] Shapes disappear in Asset Allocator

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 18 16:02:39 EST 2008


User spouliot at novell.com added comment

--- Comment #6 from Sebastien Pouliot <spouliot at novell.com>  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"

<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"

<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>

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"
<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg"
        <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 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"/>

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