DescriptionFallback to moveTo when unable to find the first tangent in cubicTo
When calling cubicTo(a, b, c) and if the distance between fPrevPt and a
is too small, b is used instead of a to calculate the first tangent,
even if the distance between fPrevPt and b is too small.
In debug mode, this is causing an assertion to fail in
SkPathStroker::preJoinTo() and, in Release, the use of an
unitialized value.
The first patch set is adding a failing test.
The second one add the fix to SkPathStroker::cubicTo()
BUG=skia:2820
Committed: https://skia.googlesource.com/skia/+/fac4e0e83666ab59373169d6c157d3654cb479a3
Patch Set 1 #Patch Set 2 : Bugfix #
Total comments: 6
Patch Set 3 : Corrections... #Patch Set 4 : Add comment #
Total comments: 4
Patch Set 5 : Again #
Total comments: 2
Patch Set 6 : is -> was #Messages
Total messages: 15 (0 generated)
|