GraphiteEditor / GraphiteEditor/Graphite

Merging anchors in path tool

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

Descrizione

It is possible to join anchors with a new segment Ctrl+J. However it is no yet possible to simply merge the anchors (no new segments).

This should work across different layers. This should reuse the merging logic from Ctrl+J:

https://github.com/GraphiteEditor/Graphite/blob/97f8113fe43d41b15ca3a56c300c48b7c8fda5c4/editor/src/messages/tool/common_functionality/shape_editor.rs#L535-L536

This functionality is also available in inkscape and figma.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start in editor/src/messages/tool/common_functionality/shape_editor.rs at the linked Ctrl+J merging logic. Trace how that operation handles anchors and layers, then determine the path-tool entry point for merging without creating segments. Done means selected anchors can merge across different layers while preserving the existing Ctrl+J behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
computer-graphics
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
64/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.