GraphiteEditor / GraphiteEditor/Graphite

Make the Fill tool work on strokes

Open
#2,615 0 comments 0 reactions 0 assignees View on GitHub
Graphics
Dominant language
Rust
Stars
27.2k
Forks
1.3k
Avg merge
20h 5m
Merged PRs (30d)
57

Description

When hovering over a layer stroke, it should display the dotted overlay like we do for fills:

![Image](https://github.com/user-attachments/assets/efe41bd3-c7f4-4b84-823d-c169dd5906fb)

So in this image, we'd have the white dotted lines over the black layer stroke instead. See .

Additionally, we'd like to prevent the dotted overlays from extending into half the stroke area, like we see above. This can be achieved by using some compositing tricks with the 2D canvas API to render the stroke in such a manner that it erases the drawable area where the fill dotted pattern goes. (This can't affect other overlays also drawn in that area, though, so no erasing the full canvas in that area.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.