用于 Flex 的 FXG 编辑器 [英] FXG Editor for Flex

查看:35
本文介绍了用于 Flex 的 FXG 编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过的 Flex 的唯一 FXG 编辑器是 并安装另存为 FXG"插件.向 JazzyNico 致敬,他编写了基本上是 monster SVG 到 FXGXSL 转换"的内容(即 XSLT).

如何安装:

  1. 安装 Inkscape.
  2. 获取插件文件 svg2fxg.inx

    将这两个文件都放到 Inkscape 的扩展"文件夹中.

    • 在 GNU/Linux 中:$HOME/.config/inkscape/extensions
    • 在 Windows 中:C:\Documents and Settings\User\Application Data\Inkscape\extensions
    • 在 OSX 中:/Applications/Inkscape.app/Contents/Resources/extensions
  3. 重新启动 Inkscape,您将在文件 > 另存为"对话框中找到一个新的 FXG 条目.

这个插件对我和我的工作都是一个福音,因为这些年来我对 Inkscape 已经非常熟悉了.

不幸的是(这可能只是我的设置),我发现每当我保存为 FXG 时,几分钟后 Inkscape 就会崩溃(我真的应该发布错误报告).以防万一您遇到同样的问题,请确保转到保存"首选项并打开自动备份.另外,请记住,SVG 中的某些构造在 FXG 中没有等效项.不要问我它们是什么,老实说我不记得了.

The only FXG editor I've seen for Flex is by 7jigen, works online or as a Flex app.

Does anyone know of a different one? It can be done in Illustrator I think, but that doesn't really offer a simple export to Flex type option, just gives coordinates.

解决方案

As far as I know your best bet (if you don't want to use Illustrator) is to grab Inkscape and install the "save as FXG" plug-in. Hats off to JazzyNico for writing what is basically a monster SVG to FXG "XSL Transform" (i.e. XSLT).

How to install:

  1. Install Inkscape.
  2. Grab the plug-in files svg2fxg.inx and svg2fxg.xsl.
  3. Drop both files in your Inkscape "extensions" folder.

    • In GNU/Linux: $HOME/.config/inkscape/extensions
    • In Windows: C:\Documents and Settings\User\Application Data\Inkscape\extensions
    • In OSX: /Applications/Inkscape.app/Contents/Resources/extensions
  4. Restart Inkscape and you'll find a new FXG entry in the "File > Save As" dialog.

This plugin has been a boon for me and my work, since I've become quite comfortable with Inkscape over the years.

Unfortunately (and this may just be my setup), I've found that whenever I save as FXG, a few minutes later Inkscape crashes out (I really should post a bug report). Just in case you have the same problem, make sure you go to the "Save" preferences and turn on auto-backup. Also, keep in mind that certain constructs in SVG have no equivalent in FXG. Don't ask me what they are, I honestly can't remember.

这篇关于用于 Flex 的 FXG 编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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