Re: gradient of stroke-width

Doug Schepers:

>You cannot do this now (the link above is just an old proposal), but you 
>should be able to do this using Vector Effects, a spec we are working on 
>going forward.

One way to do it now could be to extract the path to a number cruncher
and to compute a new path looking like a path with different stroke-width.

Should be not much work - I already wanted to write a (PHP-)script doing
this, but there was no time up to now for this ;o)

Something related seems to be the calligraphy function of inkscape, 
simulating paths with different width using filled paths without a stroke.

Calligraphy has some other rules to derive the new path than that
what one might do typically - assuming the 'current width' to be 
perpendicular to the 'current progression direction' of the path,
which can be derived more or less easly from the mathematical
representation of the used commands (Bezier curves etc) of the
initial path. 

Received on Tuesday, 15 April 2008 14:25:03 UTC