(08-27-2020, 11:24 PM)Krikor Wrote: Even if I select the Gradient or Pallet options, the filling is either Fill, Stroke or Paint, always produces a single color, never anything like the selected gradient or pallet.
I thought it might be the Samj's Portable version I use (2.10.21). But the same is true with version 2.10.12.
How do you get multicolored results?
Okay, I think I found the colored stone paths!
ofn-stroke-fill-paths takes paths, so you have to break the path into its component strokes (for example with ofn-path-edits>Break path apart).
The problem is that when you have nested strokes, if the inner stroke is filled before the outer stroke, you will only see the outer stroke in the result. To mitigate this, OTP creates a path where the strokes are sorted by length, so "Break path apart" will put the longer strokes (that are hopefully the outer ones) at the bottom of the stack, and OSFP will paint these before the shorter (and hopefully, inner) strokes. This is also why I added the new "Break path part by nesting order" option in OPE. This produces a path with all the outer strokes, one with the strokes nested in any of the previous, etc...
Caution: the nesting discovery algorithm in OPE is reasonably good, but the very contrived shapes produced by OTP break its main optimization, so the function takes time (several minutes for a 10px pattern on a 1000x1000 image, on my rather powerful PC)