GraphiteEditor / GraphiteEditor/Graphite
SVG importer ignores `clipPath` applied to a group
- 主要语言
- Rust
- 星标
- 27.2k
- 派生
- 1.3k
- 平均合并
- 20 小时 5 分钟
- 30 天内合并 PR
- 57
描述
## Description
The SVG importer does not respect a `clipPath` applied to a group. Content that should be cropped to the clipping shape is imported without clipping. follow up of #4329
## Steps to reproduce
1. Open `clip-path.svg` in a browser or another SVG viewer. It appears as a blue circle because a circle clips a larger square.
2. Import the same file into Graphite.
3. Compare the imported result with the browser rendering.
## Expected behavior
Only the circular portion of the blue square is visible, matching the SVG rendering in a browser.
## Actual behavior
The clipping path is ignored and the full blue square is visible.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start by reproducing the issue with clip-path.svg, comparing its browser rendering with the imported result in Graphite. Trace the SVG importer’s handling of clipPath applied to a group, and verify completion when the imported artwork shows only the circular portion of the blue square, matching the SVG rendering.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust
- 领域
- computer-graphics
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100