Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
stroke path with a dashed line inside a filter
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.

Forum Jump: