stroke: Flip the dev slope as well for computing the cusp on a degeneracy

Otherwise, the join think it starts and end in exactly the same
direction and elimiates the round capping.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-01-09 12:31:10 +00:00
parent 14720cd0db
commit 351a9e756d

View file

@ -918,6 +918,8 @@ spline_to (void *closure,
face.usr_vector.x = -face.usr_vector.x;
face.usr_vector.y = -face.usr_vector.y;
face.dev_slope.x = -face.dev_slope.x;
face.dev_slope.y = -face.dev_slope.y;
face.dev_vector.dx = -face.dev_vector.dx;
face.dev_vector.dy = -face.dev_vector.dy;