akiraux / akiraux/Akira

Import SVG

Đang mở
#266 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
help wanted needs design
Ngôn ngữ chính
Vala
Star
5.3k
Fork
199
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.