GraphiteEditor / GraphiteEditor/Graphite
Stroke weight inconsistency between Shape tools and pen/pencil/spline tool
- 主要言語
- Rust
- スター
- 27.2k
- フォーク
- 1.3k
- 平均マージ
- 20時間 5分
- マージ済み PR(30日)
- 57
説明
1) When we draw something using a shape tool(shape/ellipse/rectangle/etc) and when we draw something using the pen/pencil/spline tool, in both cases the default stroke weight is 2 px (visible in the Properties panel). However, as clearly shown in the video, the stroke weight appears different.
2) The stroke weight change behaviour during transformation that was resolved by the PR (https://github.com/GraphiteEditor/Graphite/pull/3854
)? That fix only resolved the issue when the figure is drawn using a shape tool(shape/ellipse/rectangle/etc). When the shape is drawn using the pen/spline/pencil tool, the bug still persists, as visible in the above clip.
Both the above mentioned bugs will be more or less because of the same issue.
Reproduction clip:
https://github.com/user-attachments/assets/ec04cd1a-fae8-4c28-b3c7-1c9ddf3715da
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
リンクされたクリップを使って差異を再現し、同じ 2 px のストローク幅で shape-tool の出力と pen、pencil、spline の出力を比較します。PR #3854 の変更を確認し、pen、pencil、spline ツールの変換動作を追跡します。完了の条件は、これらのツール間で、見た目のストローク幅と変換中のストロークのスケーリングが一貫していることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- computer-graphics
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100