GraphiteEditor / GraphiteEditor/Graphite

Rendering the strokes of vector meshes

オープン
#2,310 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
Architecture Graphics
主要言語
Rust
スター
27.2k
フォーク
1.3k
平均マージ
20時間 5分
マージ済み PR(30日)
57

説明

Vector meshes generalize paths to have more than two edges connected to a point. That messes with assumptions made by the renderer as part of stroking for caps and joins. We need to devise a strategy for properly rendering such cases.

It would also potentially be worthwhile to control the caps and joins (and miter limit) on a per segment or per anchor basis, even at both ends of just a simple line.

This is currently handled badly, as we can see from the line caps:

![Image](https://github.com/user-attachments/assets/8f5e290c-f65a-4377-b22a-faaab2a835a4)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

renderer の stroking path から始め、ベクターメッシュの cap と join の処理、および 2 本を超える接続エッジを持つ点に関する前提に焦点を当てます。これらのケースを正しくレンダリングするための戦略を定義し、検証してください。セグメント単位またはアンカー単位の cap、join、miter-limit の制御は、拡張の可能性として記載されています。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
computer-graphics
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。