ColinK

Enter precise shape Width and height - not just drag

Recommended Posts

I add rectangle shapes for nearly every drawing I create.

 

After inserting and dragging the handles to approx size I want to be able to manually type the precise size - dragging handles is very hit and miss and can take many seconds to get precise PX sizes.

 

Ideally I want to click on the sizes in the bottom left of paint.net and manually edit - see attachment

 

These instructions give no instructions on how to precisely resize a shape.  https://www.getpaint.net/doc/latest/ShapeTools.html

 

I have searched the forum, can find nothing other than - drag handles.

 

I am not asking how to enter fixed sizes for the rectangle tool.

 

Thanks ColinK

 

 

 

 

paint-net-shape-size.PNG

Share this post


Link to post
Share on other sites

There is no way to define the Shape size the way you want.

 

What I do is click and hold a corner control point, then use the keyboard arrows to fine tune the height and width. Try it & see if that works for you.

Share this post


Link to post
Share on other sites

For the same purpose I use Selection> Fixed Size (Width, Height), then Effect> Selection> Outline Selection.

Sorry I did not read the post until the end...

Edited by xod

Share this post


Link to post
Share on other sites

It seems like a useful feature, but I'm not sure how it'd be done without either making surprising UX or doing some work, and I know what time Rick can afford on this project he's spending on higher-priority items.

 

I'm not sure about setting the size by clicking on it, since the size is also displayed for other contexts and unless the click-to-resize behavior is made ubiquitous, it would segment the UX.

 

I like the way Blender would do it, which is to type X or Y for the axis, followed by a number and enter to confirm. It's super-useful, but since that's not an established pattern here, it would be no better and probably worse than setting the size with a button in the tooltip area.

Share this post


Link to post
Share on other sites
On 9/4/2018 at 7:53 PM, Ego Eram Reputo said:

There is no way to define the Shape size the way you want.

 

What I do is click and hold a corner control point, then use the keyboard arrows to fine tune the height and width. Try it & see if that works for you.

Thanks for the suggestion, that partially works. Grabbing corners changes height and width. Grabbing top and side markers is a bit fiddly to exactly grab, but I can adjust with arrows as you suggest, but the accuracy seems to be 2 pixels - so not perfect but an improvement.

 

Thanks again

ColinK

Share this post


Link to post
Share on other sites

I still find precise sizing of lines or shapes very frustrating.

 

Ego's suggestion to grab corner and use arrows is sometimes useful, but actually lines and shapes change size in increments of up to 3px depending on zoom level. I really want precise sizes to 1px. The only way I can do this is to keep moving the mouse until it is correct. This frequently fails and I have to start again.

 

Any improvements in precise sizing of lines and shapes would be welcome  

 

 

image.png

Edited by ColinK
adding text

Share this post


Link to post
Share on other sites

what  I suggest is workaround only

get photofiltre 6.5.3 - it is  old, no longer developed, but free photo editor and it has some awesome functions. To test it,  download  the portable  zipped version :)

 

- use plugin that other app to open photofiltre with it 

- make rectangle selection  (any size) , right click on the selected area, a menu appears - go to manual setting and enter dimensions, okay it

- right click again and click on first option in the menu and chose color of border and okay it. The selection changes to rectangle

(sorry if my description of photofiltre options is not precise I only have  czech version)

 

Off topic: Photofiltre also has polygonal selection and you can store and reuse selections.

And  I just love the Photomasque function for making frames :)

 

Edited by SuE
typo errors and formatting

Share this post


Link to post
Share on other sites
4 hours ago, ColinK said:

to grab corner and use arrows is sometimes useful, but actually lines and shapes change size in increments of up to 3px depending on zoom level.

 

Ok, but it takes like 3 seconds to zoom-in, adjust, and zoom-out again. Not even exaggerating here.

 

Not to say that being able to type in the number wouldn't be useful. :)

Share this post


Link to post
Share on other sites
On 4/19/2019 at 10:40 AM, toe_head2001 said:

Not to say that being able to type in the number wouldn't be useful.

[Snarky comment due to thinking he said it's not useful]

Edited by Joshua Lamusga
Misreading comments and being rude

Share this post


Link to post
Share on other sites
Just now, Joshua Lamusga said:

Not useful to you doesn't mean it's not useful, come on. Surely you can conceive its uses. Agreeing with SuE that it's useful, even though it'll never happen.

 

I think you missed the double negative in my sentence.  I was saying it would be useful.

Share this post


Link to post
Share on other sites

Just speaking for myself and my flow here. I also do tons of resizes to get just the right sizes, ratios, perspectives...and I have found manual resizing(often times while holding Shift) easy and quick.

 

YMMV.

Share this post


Link to post
Share on other sites

This is something that can be done via g'mic plugin. Only problem is that it is a clumsy solution as it requires loading gmic-qt and not to mention coding(I prefer to code other filters). Your other option is to code up a pdn plugin. It's one or the other, either are clumsy.

 

For the OP - You can use this quick solution (not simplified) to type in variable (Untested) for code series under Various in G'MIC Q

 

-----

nrw=$1

nrh=$2

nrxp=$3

nryp=$4

Red=$5

Green=$6

Blue=$7

Alpha=$8

$nrw,$nrh,100%,100%,[$Red,$Green,$Blue,$Alpha]

resize. {w+$nrxp},{h+$nryp},100%,100%,0,0,1,1

blend alpha

-----

Replace $Number with your variables

Edited by Reptillian

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.