Pinta icon indicating copy to clipboard operation
Pinta copied to clipboard

Add ability to draw polygons more easily via the shape tools

Open NGSpace opened this issue 1 year ago • 5 comments

Description Add a triangle tool/shape

Additional context I wanted to draw a triangle and I wasn't able to and had to take one from the internet.

My drawing skills are too bad for me to draw a perfect (or even close to perfect) triangle and the line tool introduced issues as the endings of each line wasn't smooth so they corners bugged.

NGSpace avatar Aug 16 '24 14:08 NGSpace

Description Add a triangle tool/shape

Additional context I wanted to draw a triangle and I wasn't able to and had to take one from the internet.

My drawing skills are too bad for me to draw a perfect (or even close to perfect) triangle and the line tool introduced issues as the endings of each line wasn't smooth so they corners bugged.

You can create a rectangle and then just delete one of the corners, like shown below:

https://github.com/user-attachments/assets/7931a589-3aa0-4200-82ba-86ceb0af14ad

pedropaulosuzuki avatar Apr 25 '25 16:04 pedropaulosuzuki

Thanks for the example video - I think using the rectangle tool is a good solution here, and drawing triangles likely isn't common enough to warrant a separate tool(?)

cameronwhite avatar Apr 26 '25 03:04 cameronwhite

and drawing triangles likely isn't common enough to warrant a separate tool(?)

I very much disagree, I think it's a very useful tool and should be added especially when the ability to delete points isn't obvious (At least I never knew it existed), or at least a polygon tool.

NGSpace avatar Apr 26 '25 08:04 NGSpace

We could probably make the "regular polygon" tool have a "star option" toggle, where it would take every edge, divide it in half and bring it closer to the center (doubling the amount of vertices), so it would be an even more flexible tool.

pedropaulosuzuki avatar Apr 27 '25 17:04 pedropaulosuzuki

That could be interesting. My other thought was to make it easier to draw a sequence of straight segments (and connecting back to form a closed polygon), but that might complicate the normal version of the curve tool Also slightly related to #1096

cameronwhite avatar Apr 28 '25 03:04 cameronwhite