GraphiteEditor / GraphiteEditor/Graphite

Rendering the strokes of vector meshes

Aperta
#2,310 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Architecture Graphics
Lingua principale
Rust
Stelle
27.2k
Fork
1.3k
Merge medio
20h 5m
PR unite (30g)
57

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.