Post Reply 

Create a straight line using coordinates

Nov 11, 2013, 03:03
Post: #1
Create a straight line using coordinates

Is it possible to create a straight line by using coordinates instead of left clicking on a specific point(my hands are just to shaky when using a mouse to get the exact coordinate) then holding shift and then taking forever trying to get that perfect end point pixel location.
Find all posts by this user
Quote this message in a reply
Nov 11, 2013, 04:17 (This post was last modified: Nov 11, 2013 04:20 by iForStyle007.)
Post: #2
RE: Create a straight line using coordinates
Yes, but it will take some planning ahead on your part. There are couple ways to get a straight line automatically.

Guides should be on by default, if not "View > Show guides"
also make sure the check mark is next to rulers "View > Show rulers"

You can drag down from the top or left rulers a guide line. (#4 in the screenshot)
Then click "View > Snap to guides" if it isn't checked already

Now when you click shift near the guide line it should snap to it. To move the guides, use the move tool Move

Snap to grid
enable grid & snap to grid
"View > Show Grid..."
"View > Snap to Grid..."

Then shift click your first point to the second, it should snap to the grid.

You can disable snap to on either by clicking it again in the "View" menu. Then you can line it up manually instead(for more precise diagnose lines)

For either method you can note the bottom left Pointer[mouse] coordinates for accuracy if needed #6 in the screenshot

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Nov 11, 2013, 10:49
Post: #3
RE: Create a straight line using coordinates
More of the same, just a little more to add to the previous

If the end points of the line are regular co-ordinates, say 120,100 to 230,190 then a grid - snap-to-grid - set up with a 10 pix interval is probably the way to go, although working with it will look horrible.

For odd coordinates say 156,78 to 333,156 then guides & snap-to-guides come into their own. The Gimp standard guide tool works but is not wonderful, ok for occasional use.
For more regular use, GAT tools are excellent,
look like this.

[Image: vQgOGv2.jpg]

If you have a lot of precise drawing to do, then go for a vector application such as Inkscape where end-points of a line can be set (and changed) from the gui. You can always import the result into Gimp for completion.

** now answering questions**
Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Freezes at start of line. DemonSlayer112 3 311 Mar 20, 2018 09:48
Last Post: paynekj
  Help with Polar Coordinates! PositiveAnion 1 335 Jul 27, 2017 05:16
Last Post: ythgilb
  Help with Polar Coordinates! PositiveAnion 0 243 Jul 27, 2017 00:09
Last Post: PositiveAnion
  How To Create a Moving Backround Transition? Kinneia 4 483 Aug 9, 2014 03:13
Last Post: fluffybunny2
  Can't draw a clean line freehand Dave54 3 653 Jul 12, 2014 16:21
Last Post: Dave54

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS