Re: How is supposed to work the "dash_offset" when stroking paths in line mode?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list




[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux