将 SVG 转换为 XAML [英] Convert SVG to XAML

查看:29
本文介绍了将 SVG 转换为 XAML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试过 InkScape &XPS 方法,但它没有给我正确的 XAML.

I tried InkScape & XPS method, but it doesn't give me correct XAML.

谁能把这个SVG转换成WinRT兼容的XAML?

Can anyone please convert this SVG to WinRT compatible XAML ?

推荐答案

看看这个,看看它是否有效:https://gist.github.com/timheuer/6443390

Take a look at this and see if it works: https://gist.github.com/timheuer/6443390

方法(是的,超级黑客):

Method (yes, superhack):

  • 使用 Inkscape 保存为 PDF
  • 将文件扩展名从 PDF 重命名为 AI
  • 使用Expression Design打开AI文档
  • 导出到 Silverlight 画布

这篇关于将 SVG 转换为 XAML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆