Re: [Gimp-developer] How is supposed to work the "dash_offset" when stroking paths in line mode?
Ofnuts <[email protected]>
| Newsgroups | gmane.comp.video.gimp.devel |
|---|---|
| Message-ID | <[email protected]> |
On 5/1/19 7:45 PM, Ofnuts wrote: > * the Python help says the input value range for "set" is 1..100 while > the output value range for "get" is 0..2000 > > * whatever the value I seem to always get the same result > > Is this supposed to shift the dash pattern? Is it an absolute value or > is it relative to the dash pattern length? > > Assuming I have a pattern like: > > "#### ## #### ## #### ##" > > what do I need to do to stroke it as: > > " #### ## #### ## #### ##" OK, so the answer is: it's an absolute length in pixels, so in practice you have to compute it from the sum of the dash pattern elements and the line width. _______________________________________________ gimp-developer-list mailing list List address: [email protected] List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list