Sign in to follow this  
Rick Brewster

Curve Tool

Recommended Posts

The design for Paint.NET that I was thinking of was to overload the Line tool to serve as the Curve tool as well (and rename it "Line and Curve" or something). What would happen is you would draw a line and then when you let go of the mouse button two handles (or 'nubs') would appear on the line. To indicate that they were not part of what you drew, I would probably make them 'pulsate' a bit (kinda like what happens with the Clone Stamp in v2.2). At that point you could draw a new line so long as it didn't start at the same place at one of the handles, or you could press Escape to get rid of the handles and draw anywhere. Or, of course, you could drag the handles to curve the line. This design would solve many constraints that would otherwise prevent us from adding this functionality.

I personally don't like the way regular Paint works for drawing curves at all. It is imprecise and does not allow you much control. Once you curve the line you can't undo what you've done and must start over. It is horribly flawed.

If you have an example of an application that works the way you do want it to work, please let me know.

Share this post


Link to post
Share on other sites

When the handles appear, you would move the mouse over to either handle at which point you may drag it to curve the line. To 'commit' the line you can press enter or start dragging wherever the handle is not. It would not commit after "two drags" like in Paint. In other words, you could keep repositioning the handles until you got the line to curve how you wanted it to.

Share this post


Link to post
Share on other sites
The design for Paint.NET that I was thinking of was to overload the Line tool to serve as the Curve tool as well (and rename it "Line and Curve" or something). What would happen is you would draw a line and then when you let go of the mouse button two handles (or 'nubs') would appear on the line. To indicate that they were not part of what you drew, I would probably make them 'pulsate' a bit (kinda like what happens with the Clone Stamp in v2.2). At that point you could draw a new line so long as it didn't start at the same place at one of the handles, or you could press Escape to get rid of the handles and draw anywhere. Or, of course, you could drag the handles to curve the line. This design would solve many constraints that would otherwise prevent us from adding this functionality.

After reading this, I have to say it's one of the brightest and best ways of working with lines on this app. Good idea, Rick. 8)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this