<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Report a Silverlight Bug</title><link>http://forums.silverlight.net/forums/28.aspx</link><description>Found a bug in Silverlight? Use this forum to describe the bug and the code or steps to reproduce it.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Transform of PathGeometry defined by Mini-Language doesn't do anything</title><link>http://forums.silverlight.net/forums/thread/239279.aspx</link><pubDate>Mon, 29 Jun 2009 18:38:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:239279</guid><dc:creator>shacktoms</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/239279.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=239279</wfw:commentRss><description>&lt;p&gt;As a workaround, a Geometry transform is implied by Width and Height if Stretch is set to Fill, Uniform, or&amp;nbsp; UniformToFill.&lt;/p&gt;&lt;p&gt;The only small caveat is that you have to first add the StrokeThickness to the Width and Height, and then subtract half the StrokeThickness from the Margin in order to make things come out as you would likely expect.&lt;/p&gt;&lt;p&gt;That is, if your geometry draws a 100x100 square, and your StrokeThickness is 10, then in order to scale your geometry by 0.5 you set Stretch=&amp;quot;Fill&amp;quot; (or &amp;quot;Uniform&amp;quot; or &amp;quot;UniformToFill&amp;quot;) and then you might think you would just set Width=&amp;quot;50&amp;quot; and Height=&amp;quot;50&amp;quot; but you will really need to set Width=&amp;quot;60&amp;quot;, Height=&amp;quot;60&amp;quot; and Margin=&amp;quot;-5&amp;quot;. A little bizarre, but it works.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In any case, the fact that this works shows that somewhere inside the implemtation, a PathGeometry created by the mini language can be transformed after the fact, it is just that doing it by setting the Transform property is broken.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Transform of PathGeometry defined by Mini-Language doesn't do anything</title><link>http://forums.silverlight.net/forums/thread/230600.aspx</link><pubDate>Mon, 08 Jun 2009 16:13:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:230600</guid><dc:creator>shacktoms</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/230600.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=230600</wfw:commentRss><description>&lt;p&gt;In XAML, I can define a &amp;lt;Path&amp;gt; element with the Data specified by the mini language.&amp;nbsp; In that case, the Geometry is created as a PathGeometry.&amp;nbsp; This PathGeometry has a Transform property, but setting that property does not transform the geometry.&lt;/p&gt;&lt;p&gt;If this bug were fixed, it would be very convenient for rescaling the coordinates of graphs that were created with the mini-language, without rescaling the StrokeThickness that is specified in the Path (as happens with a RenderTransform).&amp;nbsp; Supposedly, Geometries created with the mini-language outperform geometries created with explicit Figures, so it would be nice to be able to avoid creating the Figures.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>