Freehand polygon/polyline tools
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
Sometimes I want to approximate a curve with a poly. This takes a lot of vertices, thus a lot of mouse clicks, and then more clicks and a lot of drags if I have to edit the poly later. I propose these freehand drawing tools to save some fingers.
- Drawing pencil. Freehand draw a new poly as in an art application. Available options are to place vertices every n pixels, or at grid snap points. Relieves repeated clicking.
- Editing pencil. Like the drawing pencil, and with the same options, but only works on an existing line segment of a selected poly to reshape it. Relieves repeated double-clicking and dragging.
- Alternatively one pencil that edits if starting on a line segment of a selected poly, or draws a new poly otherwise.
- Vertex eraser. Simply a brush that deletes vertices from selected polys. Brush size is an option. Relieves repeated selecting and deleting.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue. Start by locating the existing polygon/polyline drawing and editing tools, then determine how vertex spacing, grid snapping, selected segments, and vertex deletion are represented; done would mean the proposed pencil and eraser workflows operate with their stated options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100