Skip to content

FAQ: svg and wpf/xaml

November 15, 2006

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:

Q: Does WPF/XAML support rendering SVG content?

No, WPF doesn’t natively render SVG content.

However, the WPF flavor of vector graphics, does have many similarities with SVG…making conversion tools fairly simple to write.

Q: Why isn’t WPF just implementing SVG, etc…

This has been a much debated topic online ever since PDC 2003 (when we first widely showed "Avalon" off)

The summary goes something like this:

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 http://nytimes.com/timesreader 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.

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.

We believe that we have built an impressive platform for Windows developers.

Here are a few links that provide interesting reading and debate (not everything there is technically accurate, but most are worth reading)

  1. Ian Griffiths – http://www.oreillynet.com/cs/user/view/cs_msg/34066
  2. Joe Beda – http://www.eightypercent.net/Archive/2003/11/04.html#a153
  3. Wesner Moise – http://wesnerm.blogs.com/net_undocumented/2003/10/xaml_and_standa.html
  4. SVG Forum discussion: http://tech.groups.yahoo.com/group/svg-developers/message/56732
  5. SVG Forum discussion: http://tech.groups.yahoo.com/group/svg-developers/message/56860
  6. SVG Wiki: http://wiki.svg.org/Vector_Format_Comparisons
  7. Comment’s on Joe Beda’s blog: http://www.haloscan.com/comments.php?user=jbeda&comment=150#62415

Thoughts?

From → 2D Graphics

5 Comments
  1. ferhat permalink

    MERHABA FORM TURKEY

  2. Andrej permalink

    I have created svg reader for importing all elements from svg file into a wpf application – more at http://www.wpf-graphics.com/ReaderSvg.aspx. Andrej

  3. Unknown permalink

    wow gold!All wow gold US Server 24.99$/1000G on sell! Cheap wow gold,wow gold,wow gold,Buy Cheapest/Safe/Fast WoW US EU wow gold Power leveling wow gold from the time you wWorld of Warcraft gold ordered!

    wow power leveling wow power leveling power leveling wow power leveling wow powerleveling wow power levelingcheap wow power leveling wow power leveling buy wow power leveling wow power leveling buy power leveling wow power leveling cheap power leveling wow power leveling wow power leveling wow power leveling wow powerleveling wow power leveling power leveling wow power leveling wow powerleveling wow power leveling buy rolex cheap rolex wow gold wow gold wow gold wow gold -144858404743830

  4. Unknown permalink


    信是個富有挑戰的工作,忙碌、刺激、激情。最后的結局總是有人哭,有人笑。在徵信社工作的幾年時間里,我感悟到很多生活的無奈與殘酷。閑暇時我去中古车市
    场,感覺工作太緊張,放松一下而已,不是純粹的為了淘二手车。私家偵探也就是徵信工作人員似乎是個很酷的詞,但是如果誰需要私家偵探來幫忙的話,他(她)
    的婚姻也許已經亮起了紅燈。每天陪著星際客戶喝著咖啡,似乎是一件很爽的事,可是她們的眼淚比咖啡要苦的多。常常聽他們說嘈雜的燈光音響麻痹著他們的神
    經,讓他們過著醉生夢死的生活。其實,誰不渴望幸福美滿的愛情。沒有團體制服不了那些玩弄生活、玩弄感情的人,于是,徵信社應運而生。這不知道是人們的福
    音還是不幸,希望天下的每一個人都歡樂著、幸福著。坐月子是女人一生的大事,女人可以为了襁褓中的婴儿放弃一直引用的红酒而吃月子餐,这时候的女人是幸福
    而伟大的。有人歡喜有人優,有人狂笑有人大哭,我不想看到女人太多的眼淚,辭職后,我做了一位安靜、平和的室內設計師。虽然上下班没有了车接车送,但我租
    车怡然自得。偶爾和Fake
    Rolex Watch, Breitling
    Replica Watch, Best
    replica watches, Omega
    Replica Watches ecosway的朋友小聚,很愜意

  5. Unknown permalink

    Welcome to enter (wow gold) and (wow power leveling) trading site, (Rolex) are cheap, (World of Warcraft gold) credibility Very good! Quickly into the next single! Key words directly to the website click on transactions! -144245643324106

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: