Gimp-Forum.net

Full Version: stroke path with a dashed line inside a filter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.
In the pdb interface for stroking path I found all the setting but the "dash preset", which online allows to stroke with a dotted/dashed line.
Maybe I missed something.
Can someone tell me whether and how is it possible to stroke a path (from inside a filter) using a dash preset like interactively?
Many thanks in advance.
pdb.gimp_context_set_line_dash_pattern(num_dashes, dashes) looks like a good candidate. Documentation is scant, you may have to experiment a bit. Using the parallel get function to check values after changing the settings in Edit>Stroke path may also help.

If you have a good description, submit it as an improvement.
Thanks Ofnuts.
I did a few tries with set_dash_pattern, but unsuccessfully
Will try again.