akiraux / akiraux/Akira

Import SVG

未关闭
#266 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted needs design
主要语言
Vala
星标
5.3k
派生
199
PR 合并指标
30 天内没有已合并 PR

描述

## Expected Behavior
When importing an SVG file, the software should automatically convert the image into an SVG string and create a new `Goo.CanvasPath` in order to keep that element editable and scalable.

## Current Behavior
SVGs are getting imported as regular raster images.

## Possible Solution
`Goo.CanvasPath` and `Goo.CanvasPathModel` allow loading SVG data as string, so we need a parser to convert an imported SVG into a string, and generate a path we can edit.

Most likely this will happen once we can handle groups, as most SVGs come with multiple shapes inside, so for each shape a Path should be created, and the entire SVG should be converted into a folder group.

Do we need to use any particular library like `librsvg`, `gsvg`, or similar?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。