mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 05:18:01 +02:00
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:
parent
14720cd0db
commit
351a9e756d
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue