Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-29-2006, 06:39 PM   #1
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
gimp draw a simple square

how do you draw an outline of a square in gimp?
Old 03-30-2006, 12:08 AM   #2
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Rep: Reputation: 30
Best to ask this question on the GIMP mailing list:
Old 03-30-2006, 05:29 AM   #3
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
Actually, I'm not sure about drawing a square in one simple mouse drag, which is what I guess you want.

However, you can draw straight lines with the pencil tool:
Click on your starting point, then hold down the shift key along with the mouse button, and move to the next corner of your square.

You should see how it works fairly quickly. It tells you how long your line is in pixels as you draw, and you can see when it's straight, so drawing a square should be possible.

Hope that helps, though I agree it would be nice to have a specific tool for it.

(oh, and if you want a 10x10 pixel or 20x20 pixel square, there's preset brushes for outline squares of those sizes. Not really much help for you I guess, but you never know...)
Old 03-30-2006, 05:47 AM   #4
Registered: Jul 2005
Posts: 109

Rep: Reputation: 15
Oddly i don't think there's an easy way of doing this.

You could select a square area, fill it, then Select-Shrink it by X pixels and fill the current selection with the background (or Edit->Clear it).
Old 03-30-2006, 02:53 PM   #5
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
Draw a square selection, then Edit -> Stroke selection.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Square fonts with CEDEGA? Spooky Linux - Games 1 05-14-2005 02:14 PM
Simple Gimp Question, but I can't find answer Mic Q SUSE / openSUSE 2 12-30-2004 12:59 PM
Simple Gimp Question grim1234 Linux - Software 1 07-22-2004 07:15 PM
how to draw curved lines in gimp URGENT!!! tuxfood Linux - Newbie 3 04-06-2004 02:42 PM
square one - how do I make it go? linuxceptic Linux - Wireless Networking 3 02-04-2004 07:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration