[cairo] Bad line joins/cap with ROUND
Chris Wilson
chris at chris-wilson.co.uk
Thu Oct 2 07:55:06 PDT 2008
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.
See the attached bad-line-join.
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.
--
Chris Wilson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad-line-join.png
Type: image/png
Size: 49338 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20081002/667a7de7/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: good-line-join.png
Type: image/png
Size: 18504 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20081002/667a7de7/attachment-0003.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012--stroke-Improve-ROUND-line-caps-and-line-joins.patch
Type: text/x-patch
Size: 0 bytes
Desc:
Url : http://lists.cairographics.org/archives/cairo/attachments/20081002/667a7de7/attachment-0001.bin
More information about the cairo
mailing list