[cairo] Bad line joins/cap with ROUND

Behdad Esfahbod behdad at behdad.org
Thu Oct 2 08:38:50 PDT 2008


Chris Wilson wrote:
> Currently when constructing the fan for a ROUND line join/cap we do not
> correctly select the termination vertices and sometime choose a vertex
> that lies inside the current stroke.

IIRC the solution before was to compute the convex hull of the join then...


> See the attached bad-line-join.

Wow, those images are amazing!

behdad

> The solution for a water-tight closure of the fan is to include the
> termination points in the pen. good-line-join shows the result of
> applying the path.
> 
> Carl, is this worthy for 1.8? It doesn't address any outstanding issues
> but it makes twin look better.
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list