[Mono-bugs] [Bug 384980] New: Silverlight supports coordinates larger than 24 bits

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 29 16:51:09 EDT 2008


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


           Summary: Silverlight supports coordinates larger than 24 bits
           Product: Moonlight
           Version: 1.0.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: engine
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Cairo 1.6 is limited to 24 bits coordinates. Silverlight can handle more than
this. This is not a common problem unless you start scaling by large values.

Test case (you should see a green shape inside the red rectangle).

<Canvas xmlns="http://schemas.microsoft.com/client/2007" Width="400"
Height="400" Background="Black">
        <Rectangle Canvas.Top="100" Canvas.Left="100" Width="200" Height="200"
Fill="Red" />
        <Rectangle Canvas.Top="100" Canvas.Left="100" Width="200000000"
Height="200000000" Fill="Green" Cursor="Hand"
                Clip="M 0,100000000 L 100000000,0 200000000,100000000
100000000,200000000 z" >
        <Rectangle.RenderTransform>
                <ScaleTransform ScaleX="0.000001" ScaleY="0.000001" />
        </Rectangle.RenderTransform>
        </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