Repository navigation
G1: create width points through Width Point Edit - #1814
Conversation
Messhias
left a comment
There was a problem hiding this comment.
Width Point Edit can create a point on a stroked path; adjustAdjoining on new points uses sampled widths. Engine/tool/dialog tests and full ci claim are enough.
Co-authored-by: Codex <noreply@openai.com>
c0241ea to
0e6b2e3
Compare
|
Thanks @sanyamsingh001. Merged on top of #1630, rebased on current main. The public stroke page documents it: to create or modify a width point using the Width Point Edit dialog, double-click the stroke with the Width tool. The two PRs touched the same lines, so I merged them by hand: |
Double-clicking a stroked segment with the Width tool now opens Width Point Edit with sampled side widths. OK creates the point and optionally adjusts adjoining widths in one undo step. Cancel or Delete discards the pending point without changing the document or redo history.
Existing dialog controls and point editing are preserved. Regressions cover profiles, compound paths, adjoining adjustment, actual dialog events and Undo/Redo. New error messages are translated in all message-complete catalogs.
Validation: 28 focused Width tests and all seven stages of cargo xtask ci passed on the combined changes (6,222 passing tests). The headless capture exercised opening and Cancel; the original dialog PNG was visually reviewed.
Reference: Variable-width strokes.