GraphiteEditor / GraphiteEditor/Graphite

Conic gradients

Đang mở
#2,302 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Graphics
Ngôn ngữ chính
Rust
Star
27.2k
Fork
1.3k
Merge trung bình
20 giờ 5 phút
Pull request đã merge (30 ngày)
57

Mô tả

This could be implemented using a few strategies, and we probably will want multiple so the user can pick what's best for their use case.

For support in all SVG viewers:
- A whole bunch of solid-colored pie slice triangles
- Rasterized as a base64 image at a set resolution

For support in some SVG viewers like browsers:
- `

`
- Possibly fewer pie slice triangles made out of linear gradient quads given CSS perspective transforms to turn them into triangles by pinching a pair of corners, however pure SVG only supports affine transforms

![Image](https://github.com/user-attachments/assets/ce862322-078a-4204-a202-1bccb0af5c39)

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by comparing the proposed solid-triangle, rasterized base64, foreignObject/CSS, and linear-gradient strategies against the SVG viewers they need to support. Done would require choosing and implementing a conic-gradient approach or set of approaches, with the supported viewer behavior and user selection defined.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
css
Lĩnh vực
computer-graphics
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.