<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type='text/xsl' href='http://rrelyea.spaces.live.com/mmm2008-05-17_13.22/rsspretty.aspx?rssquery=en-US;http%3a%2f%2frrelyea.spaces.live.com%2fcategory%2fXaml%2bfor%2b2D%2bGraphics%2ffeed.rss' version='1.0'?><rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:msn="http://schemas.microsoft.com/msn/spaces/2005/rss" xmlns:live="http://schemas.microsoft.com/live/spaces/2006/rss" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Rob Relyea: Xaml for 2D Graphics</title><description /><link>http://rrelyea.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=catXaml%2bfor%2b2D%2bGraphics</link><language>en-US</language><pubDate>Sat, 19 Jul 2008 21:49:28 GMT</pubDate><lastBuildDate>Sat, 19 Jul 2008 21:49:28 GMT</lastBuildDate><generator>Microsoft Spaces v1.1</generator><docs>http://www.rssboard.org/rss-specification</docs><ttl>60</ttl><cf:parentRSS>http://rrelyea.spaces.live.com/blog/feed.rss</cf:parentRSS><live:type>blogcategory</live:type><live:identity><live:id>1619844122537416190</live:id><live:alias>rrelyea</live:alias></live:identity><cf:listinfo><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="typelabel" label="Type" /><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="tag" label="Tag" /><cf:group element="category" label="Category" /><cf:sort element="pubDate" label="Date" data-type="date" default="true" /><cf:sort element="title" label="Title" data-type="string" /><cf:sort ns="http://purl.org/rss/1.0/modules/slash/" element="comments" label="Comments" data-type="number" /></cf:listinfo><item><title>Saveen Reddy: Visio exporter to Xaml Vectors</title><link>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2599.entry</link><description>&lt;p&gt;I was excited to see &lt;a href="http://www.codeplex.com/VisioExportToXAML"&gt;VisioExportToXaml&lt;/a&gt; on Codeplex from Saveen Reddy (with credits to Thierry Bouquain and SharpVectors). &lt;p&gt;Saveen blogs about it in &amp;quot;&lt;a href="http://blogs.msdn.com/saveenr/archive/2008/02/06/updated-add-in-for-visio-2007-to-export-to-xaml.aspx"&gt;Updated Add-In for Visio 2007 to Export to Xaml&lt;/a&gt;&amp;quot; &lt;p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Original Visio &lt;/u&gt;&lt;/strong&gt; &lt;blockquote&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/saveenr/WindowsLiveWriter/UpdatedAddInforVisio2007toExporttoXAML_68D8/image_12.png"&gt;&lt;img height=244 alt=image src="http://blogs.msdn.com/blogfiles/saveenr/WindowsLiveWriter/UpdatedAddInforVisio2007toExporttoXAML_68D8/image_thumb_5.png" width=209 border=0&gt;&lt;/a&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;XAML rendered in in Expression Blend&lt;/u&gt;&lt;/strong&gt; &lt;blockquote&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/saveenr/WindowsLiveWriter/UpdatedAddInforVisio2007toExporttoXAML_D44D/image_2.png"&gt;&lt;img height=175 alt=image src="http://blogs.msdn.com/blogfiles/saveenr/WindowsLiveWriter/UpdatedAddInforVisio2007toExporttoXAML_D44D/image_thumb.png" width=244 border=0&gt;&lt;/a&gt;&lt;/blockquote&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=1619844122537416190&amp;page=RSS%3a+Saveen+Reddy%3a+Visio+exporter+to+Xaml+Vectors&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=rrelyea.spaces.live.com&amp;amp;GT1=rrelyea"&gt;</description><comments>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2599.entry#comment</comments><guid isPermaLink="true">http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2599.entry</guid><pubDate>Thu, 07 Feb 2008 14:03:37 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!2599/comments/feed.rss</wfw:commentRss><wfw:comment>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2599.entry#comment</wfw:comment><dcterms:modified>2008-02-07T14:03:37Z</dcterms:modified></item><item><title>WPF/Silverlight: Using an ellipse as an opacity mask for another ellipse</title><link>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2450.entry</link><description>&lt;p&gt;Internal mail thread that is likely useful to people outside of Microsoft.  Please read bottom up: &lt;p&gt;&lt;b&gt;------------------------------------------------------&lt;/b&gt; &lt;p&gt;&lt;b&gt;From:&lt;/b&gt; Blend Program Manager&lt;br&gt;OpacityMask is a brush, clip is a geometry. They are both valid on Shapes but it depends on what type of masking you’re looking to do. &lt;p&gt;In the example of an elliptical mask, it could also be done with opacity mask and a radial gradient brush. &lt;p&gt;&lt;b&gt;------------------------------------------------------&lt;/b&gt; &lt;p&gt;&lt;b&gt;From:&lt;/b&gt; MS Employee new to Xaml Vectors &lt;p&gt;Ah, so is Opacity Mask not valid for shapes?  When do I need to use .CLIP instead of Opacity Mask?  Anyway, I knew it would be easy.  Thanks!  &lt;p&gt;&lt;b&gt;------------------------------------------------------&lt;/b&gt; &lt;p&gt;&lt;b&gt;From:&lt;/b&gt; Blend Program Manager &lt;p&gt;Real easy using Blend, just draw out two ellipses, select both then use Object-&amp;gt;Path-&amp;gt;Make Clipping Path. &lt;p&gt;Alternatively, the XAML is: &lt;p&gt;&amp;lt;Ellipse Width=&amp;quot;100&amp;quot; Height=&amp;quot;100&amp;quot; Fill=&amp;quot;#FFFF0000&amp;quot; Stroke=&amp;quot;#FF000000&amp;quot;&amp;gt; &lt;p&gt;                &amp;lt;Ellipse.Clip&amp;gt; &lt;p&gt;                                &amp;lt;EllipseGeometry RadiusX='25' RadiusY='25' Center='50,50'/&amp;gt; &lt;p&gt;                &amp;lt;/Ellipse.Clip&amp;gt; &lt;p&gt;&amp;lt;/Ellipse&amp;gt; &lt;p&gt;&lt;b&gt;------------------------------------------------------&lt;/b&gt; &lt;p&gt;&lt;b&gt;From:&lt;/b&gt; MS Employee new to Xaml Vectors &lt;p&gt;Ok.. this has got to be SO simple, but I cant figure it out.  I’m trying to use an object like an ellipse as an opacity mask for another ellipse.  What is the syntax to make this work.  It seems to be looking for a “Brush” but I thought it would use the nested ellipse as the necessary brush.  Any help would be greatly appreciated.  Thanks! &lt;p&gt;&amp;lt;Ellipse Width=&amp;quot;259&amp;quot; Height=&amp;quot;239&amp;quot; Fill=&amp;quot;#FFFFFFFF&amp;quot; Stroke=&amp;quot;#FF000000&amp;quot; Canvas.Left=&amp;quot;198&amp;quot; Canvas.Top=&amp;quot;82&amp;quot;&amp;gt; &lt;p&gt;                                &amp;lt;Ellipse.OpacityMask&amp;gt; &lt;p&gt;                                                &amp;lt;Ellipse Width=&amp;quot;197&amp;quot; Height=&amp;quot;198&amp;quot; Fill=&amp;quot;#FF888888&amp;quot; Stroke=&amp;quot;#FF000000&amp;quot; Canvas.Left=&amp;quot;159&amp;quot; Canvas.Top=&amp;quot;140&amp;quot;/&amp;gt; &lt;p&gt;                                &amp;lt;/Ellipse.OpacityMask&amp;gt; &lt;p&gt;                &amp;lt;/Ellipse&amp;gt; &lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=1619844122537416190&amp;page=RSS%3a+WPF%2fSilverlight%3a+Using+an+ellipse+as+an+opacity+mask+for+another+ellipse&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=rrelyea.spaces.live.com&amp;amp;GT1=rrelyea"&gt;</description><comments>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2450.entry#comment</comments><guid isPermaLink="true">http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2450.entry</guid><pubDate>Wed, 10 Oct 2007 11:24:01 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!2450/comments/feed.rss</wfw:commentRss><wfw:comment>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2450.entry#comment</wfw:comment><dcterms:modified>2007-10-10T11:24:01Z</dcterms:modified></item><item><title>More SVG &amp; Xaml</title><link>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2377.entry</link><description>&lt;p&gt;&lt;a title="http://sanpaku72.blogspot.com/2007/09/having-fun-with-xaml-silverlight-and.html" href="http://sanpaku72.blogspot.com/2007/09/having-fun-with-xaml-silverlight-and.html"&gt;Having-fun-with-xaml-silverlight-and.html&lt;/a&gt;.  I've also created a new category on my blog: &lt;a href="http://rrelyea.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;amp;_c=BlogPart&amp;amp;partqs=cat%3dXaml%2bfor%2b2D%2bGraphics"&gt;Xaml for 2D Graphics&lt;/a&gt;...I'll go back and recategorize a few posts into that category.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=1619844122537416190&amp;page=RSS%3a+More+SVG+%26+Xaml&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=rrelyea.spaces.live.com&amp;amp;GT1=rrelyea"&gt;</description><comments>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2377.entry#comment</comments><guid isPermaLink="true">http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2377.entry</guid><pubDate>Fri, 07 Sep 2007 22:23:18 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!2377/comments/feed.rss</wfw:commentRss><wfw:comment>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2377.entry#comment</wfw:comment><dcterms:modified>2007-09-07T22:26:03Z</dcterms:modified></item><item><title>Tim Heuer: SVG or PDF -&gt; Xaml vectors for Silverlight or WPF</title><link>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2346.entry</link><description>&lt;p&gt;Tim Heuer just posted an interesting screencast called &amp;quot;&lt;a href="http://timheuer.com/blog/archive/2007/08/30/convert-vector-svg-to-xaml-for-silverlight.aspx"&gt;convert svg and vector to xaml with expression design for silverlight&lt;/a&gt;&amp;quot;.  I was interested to see his techniques for SVG to Xaml.  Interestingly, he takes the SVG with a tool named InkScape to open SVG and save as PDF.  He then renames the PDF to .ai (illustrator).  File/Import with Expression Design now works.  File/Export from there allows you to save as Silverlight Xaml or WPF Xaml. &lt;p&gt;He shows a few nice demos...a picture of Cartman from South Park and a diagram of seating sections at a baseball park. Worth a watch...you'll pick up more than my quick recap gives you. &lt;p&gt;Update: just ran into Andrej Benedik's update from a week ago: &amp;quot;&lt;a href="http://www.wpf-graphics.com/Paste2Xaml.aspx"&gt;Added Paste2Xaml application and Ab2d.ReaderWmf class library&lt;/a&gt;&amp;quot; which supports a number of interesting scenarios via SVG files, clipboard metafiles, etc...: &lt;p&gt;&lt;img height=473 alt="Ab2d Overview diagram" src="http://www.wpf-graphics.com/images/Overview2d.gif" width=590&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=1619844122537416190&amp;page=RSS%3a+Tim+Heuer%3a+SVG+or+PDF+-%3e+Xaml+vectors+for+Silverlight+or+WPF&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=rrelyea.spaces.live.com&amp;amp;GT1=rrelyea"&gt;</description><comments>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2346.entry#comment</comments><guid isPermaLink="true">http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2346.entry</guid><pubDate>Fri, 31 Aug 2007 10:28:49 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!2346/comments/feed.rss</wfw:commentRss><wfw:comment>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!2346.entry#comment</wfw:comment><dcterms:modified>2007-09-07T22:24:05Z</dcterms:modified></item><item><title>Robert Ingebretson: HandDrawnShapes</title><link>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1891.entry</link><description>&lt;p&gt;Just hunted this &lt;a title="Permanent Link- HandDrawnShapes" href="http://notstatic.com/archives/43"&gt;HandDrawnShapes&lt;/a&gt; sample down.  Love the look this code gives your shapes... &lt;p&gt;&lt;a href="http://notstatic.com/uploads/handdrawnshapes/shapes.jpg"&gt;&lt;img height=512 src="http://notstatic.com/uploads/handdrawnshapes/shapes.jpg" width=698&gt;&lt;/a&gt; &lt;p&gt;  &lt;p&gt;I was looking for sketchy shapes, so it took me a while to find this.  Eventually I just searched @ notstatic.com for shapes...&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=1619844122537416190&amp;page=RSS%3a+Robert+Ingebretson%3a+HandDrawnShapes&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=rrelyea.spaces.live.com&amp;amp;GT1=rrelyea"&gt;</description><comments>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1891.entry#comment</comments><guid isPermaLink="true">http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1891.entry</guid><pubDate>Sun, 29 Apr 2007 03:38:58 GMT</pubDate><slash:comments>2</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!1891/comments/feed.rss</wfw:commentRss><wfw:comment>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1891.entry#comment</wfw:comment><dcterms:modified>2007-09-07T22:25:24Z</dcterms:modified></item><item><title>FAQ: svg and wpf/xaml</title><link>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1571.entry</link><description>&lt;p&gt;I just wrote up a short answer to the question of does WPF render SVG.  To make it easy for me to find in the future, evolve based on feedback, and for others to benefit from it, I post it here: &lt;p&gt;Q: Does WPF/XAML support rendering SVG content? &lt;blockquote&gt; &lt;p&gt;No, WPF doesn’t natively render SVG content. &lt;p&gt;However, the WPF flavor of vector graphics, does have many similarities with SVG…making conversion tools fairly simple to write.&lt;/blockquote&gt; &lt;p&gt;Q: Why isn't WPF just implementing SVG, etc... &lt;p&gt;This has been a much debated topic online ever since PDC 2003 (when we first widely showed &amp;quot;Avalon&amp;quot; off) &lt;p&gt;The summary goes something like this: &lt;blockquote&gt; &lt;p&gt;Windows Presentation Foundation (WPF), one of the key pillars of .Net Framework 3.0, is an integrated platform: UI (Controls), Media (2D, 3D, Animations, Video, Audio), and Documents (fixed documents with XPS, and flow documents as the &lt;a href="http://nytimes.com/timesreader"&gt;http://nytimes.com/timesreader&lt;/a&gt; uses). As such, we needed to build a cohesive set of APIs that included a declarative representation (via XAML) that enabled many scenarios that involve several of those technologies. &lt;p&gt;We had a choice of stitching together many domain-specific technologies (svg, xhtml, smil, css, direct3d, etc…) or building the next Windows API as a great, consistent set of APIs across the breadth of UI, Media and Documents. &lt;p&gt;We believe that we have built an impressive platform for Windows developers.&lt;/blockquote&gt; &lt;p&gt;Here are a few links that provide interesting reading and debate (not everything there is technically accurate, but most are worth reading) &lt;ol&gt; &lt;li&gt;Ian Griffiths - &lt;a href="http://www.oreillynet.com/cs/user/view/cs_msg/34066"&gt;http://www.oreillynet.com/cs/user/view/cs_msg/34066&lt;/a&gt;  &lt;li&gt;Joe Beda - &lt;a href="http://www.eightypercent.net/Archive/2003/11/04.html#a153"&gt;http://www.eightypercent.net/Archive/2003/11/04.html#a153&lt;/a&gt; &lt;li&gt;Wesner Moise - &lt;a href="http://wesnerm.blogs.com/net_undocumented/2003/10/xaml_and_standa.html"&gt;http://wesnerm.blogs.com/net_undocumented/2003/10/xaml_and_standa.html&lt;/a&gt; &lt;li&gt;SVG Forum discussion: &lt;a href="http://tech.groups.yahoo.com/group/svg-developers/message/56732"&gt;http://tech.groups.yahoo.com/group/svg-developers/message/56732&lt;/a&gt; &lt;li&gt;SVG Forum discussion: &lt;a href="http://tech.groups.yahoo.com/group/svg-developers/message/56860"&gt;http://tech.groups.yahoo.com/group/svg-developers/message/56860&lt;/a&gt; &lt;li&gt;SVG Wiki: &lt;a href="http://wiki.svg.org/Vector_Format_Comparisons"&gt;http://wiki.svg.org/Vector_Format_Comparisons&lt;/a&gt; &lt;li&gt;Comment's on Joe Beda's blog: &lt;a href="http://www.haloscan.com/comments.php?user=jbeda&amp;amp;comment=150#62415"&gt;http://www.haloscan.com/comments.php?user=jbeda&amp;amp;comment=150#62415&lt;/a&gt;&lt;/ol&gt; &lt;p&gt;Thoughts?&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=1619844122537416190&amp;page=RSS%3a+FAQ%3a+svg+and+wpf%2fxaml&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=rrelyea.spaces.live.com&amp;amp;GT1=rrelyea"&gt;</description><comments>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1571.entry#comment</comments><guid isPermaLink="true">http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1571.entry</guid><pubDate>Wed, 15 Nov 2006 13:17:36 GMT</pubDate><slash:comments>6</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!1571/comments/feed.rss</wfw:commentRss><wfw:comment>http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1571.entry#comment</wfw:comment><dcterms:modified>2007-09-07T22:24:49Z</dcterms:modified></item></channel></rss>