How do I import custom SVG shapes into Dia?

懵懂的女人 提交于 2019-12-04 22:04:18

问题


I haven't been able to import an SVG shape into Dia. It is expecting a .shape format (see http://dia-installer.de/howto/create_shape/index.html)

One solution is to export the Dia figure as SVG and edit it in Inkscape, but I'd really like to know how to import some SVG clipart directly into Dia.


回答1:


There is a way to import them but they lose quality as advanced transparency seems to be unsupported:

1) Drag and drop the SVG file into an empty drawing area.

2) Export it as .shape: File -> Export... Then select "By extension" and save the file as .shape. Then a dialog will appear. Choose the default size in there.

3) Import it: F9 -> NEW -> SVG Shape (select the file)

That's it. If you want to import more advanced drawings, I suggest you to try different formats, for example, PNG are imported really nicely (but of course are not vectors).

Hope it helps (and I hope DIA team implements more advanced SVG support).



来源:https://stackoverflow.com/questions/4643243/how-do-i-import-custom-svg-shapes-into-dia

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!