arc: Insert the initial point on the arc

Graphics / Cairo - Chris Wilson [chris-wilson.co.uk] - 24 September 2014 06:35 UTC

Currently the very first point on the arc will be the first interpreted location along the spline used to approximate the arc. This will be close, but not quite the exact point the user intended the arc to run from, so begin the arc with a line-to the initial point.

06a737b arc: Insert the initial point on the arc
src/cairo-arc.c | 4 ++++
1 file changed, 4 insertions(+)

Upstream: cgit.freedesktop.org


  • Share