
On 13-10-2012 17:18, Shriramana Sharma wrote:
On Thu, Oct 11, 2012 at 2:38 AM, Johan Engelen <jbc.engelen@...2592...> wrote:
But... I spot a difference with my implementation: I extrapolate with circles that are tangent to the stroke of the path, instead of the concentric circles with reduced radius like you do. Because of varying stroke width, the direction and curvature at the stroke itself may be very different from the direction and curvature of the original path.
Hi -- nice to hear the idea about the arc join. Can you give me a pointer to the two separate codes which implement the extrapolation based on the stroke and that base on the path? I'm interested to see what algorithm you are using for this.
In Inkscape's source: /src/live_effects/lpe-powerstroke.cpp The arc extrapolation code starts at line 409 ("case LINEJOIN_EXTRP_MITER_ARC:")
Cheers, Johan