RSS/Atom feed Twitter
Site is read-only, email is disabled

GIMP dotted lines

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

GIMP dotted lines Uniklaps 03 Apr 18:27
  GIMP dotted lines Steve Kinney 03 Apr 19:38
  GIMP dotted lines Tobias Lunte 03 Apr 23:12
  GIMP dotted lines Richard Gitschlag 04 Apr 01:36
Uniklaps
2013-04-03 18:27:53 UTC (over 11 years ago)

GIMP dotted lines

Hi friends,

how can I draw in GIMP freehanded curved

interrupted lines (dotted; dot-dash-dot; dash-dash;...) ?

To create lines first with a pencil and to use then the rubber

gives uneven and so unsatisfactory results.

Thanks for help!

Konrad

Steve Kinney
2013-04-03 19:38:21 UTC (over 11 years ago)

GIMP dotted lines

On 04/03/2013 02:27 PM, Uniklaps wrote:

Hi friends,

how can I draw in GIMP freehanded *_curved_*

interrupted lines (dotted; dot-dash-dot; dash-dash;...) ?

To create lines first with a pencil and to use then the rubber

gives uneven and so unsatisfactory results.

Thanks for help!

Hey Konrad,

The thing to do there would be to create your curved line with the Paths Tool (looks like a pen nib in the main toolbox). You could draw the line "from scratch" with this tool, or "trace" a line that was drawn freehand on its own transparent layer, e.g. with a tablet & stylus.

Once you have your curved line, go to the Paths dialog dock and select the "Paint along path" button at the bottom of the dialog. This will open a menu that includes "Stroke line" (the default).

Set the line width, and open the Line Styles option below that item. Here you will find settings for all manner of dots and dashes and such, and a tool for making your own custom dot and dash patterns. Select a pattern, push the Stroke button at the bottom of the dialog box, and viola.

Control+z is your friend, it will probably take a couple of tries to get exactly what you want.

:o)

Steve

Tobias Lunte
2013-04-03 23:12:15 UTC (over 11 years ago)

GIMP dotted lines

how can I draw in GIMP freehanded *_curved_*

interrupted lines (dotted; dot-dash-dot; dash-dash;...) ?

Hello,

I guess you want to draw them "freehanded" as in "just like the paintbrush tool".
If you want to do dotted lines (as opposed to dashed ones), you can quite easily use the paintbrushitself. Just open the brushes dialog (ctrl+shift+B or windows->dockable dialogues-> brushes)and select a round,(almost) hard brush. Look at the bottom of the dialogue: there you'll find a slider called 'spacing', set it to somewhere around 200 to 300 (thesofter the brush, the lower the spacing; very soft brushes might only require around 100). Nowyou can just draw with your paintbrush (or pencil) as you're used to and it will give you a nice, evenly dotted line. dashed or dot-dashed lines could also be created with paintbrush and pencil, but would require custom brushes.

bw, Tobias Lunte//Tobl

Richard Gitschlag
2013-04-04 01:36:49 UTC (over 11 years ago)

GIMP dotted lines

Hi friends,

how can I draw in GIMP freehanded curved

interrupted lines (dotted; dot-dash-dot; dash-dash;...) ?

To create lines first with a pencil and to use then the rubber

gives uneven and so unsatisfactory results.

Thanks for help!

Konrad

------------------

Tobias covers it for painting simple dotted lines all right.

You can also do freehand dashed lines but you will need to map your desired dash pattern onto a gradient. Gradient editor's not entirely easy to use, so I've attached a sample gradient file that can produce a simple dashed line for you (it alternates the current foreground color between opaque/transparent). So using it:

1 - On your painting tool, expand the "Paint Dynamics" option. Set the "Fade length" to a desired value and the fade repeat to "sawtooth" (or "triangular", depending on your pattern). 2 - You'll need one adjustable dynamics (not a preset) for the next step, so if you don't have one yet, open up the Dynamics dialog list and hit its "New" button to create one. (You'll probably want to do this anyway, go do it.) 3 - Then bring up the Dynamics Editor (e.g. double-click your dynamics entry from the list), map "Color" to "Fade". (Also map "Angle" to "Direction"; it makes a difference if the brush is non-round). 4 - Select a brush (round or square will do), set the brush size to your desired stroke width and paint away!

Note this method is not technically perfect, but it should be close enough for casual use.

-- Stratadrake strata_ranger@hotmail.com
--------------------
Numbers may not lie, but neither do they tell the whole truth. =