GraphiteEditor / GraphiteEditor/Graphite
SVG importer ignores `clipPath` applied to a group
- 主要言語
- Rust
- スター
- 27.2k
- フォーク
- 1.3k
- 平均マージ
- 20時間 5分
- マージ済み PR(30日)
- 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