GraphiteEditor / GraphiteEditor/Graphite
Conic gradients
未关闭
还没有人认领这个 Issue。
Graphics
- 主要语言
- Rust
- 星标
- 27.3k
- 派生
- 1.3k
- 平均合并
- 20 小时 5 分钟
- 30 天内合并 PR
- 57
描述
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

贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,将提议的 solid-triangle、rasterized base64、foreignObject/CSS 和 linear-gradient 策略与它们需要支持的 SVG 查看器进行比较。完成标准是选择并实现一种 conic-gradient 方法或一组方法,并定义受支持查看器的行为和用户选择。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- css
- 领域
- computer-graphics
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100