Descriptionfix zero-length tangent
If the end point and the control point are the same, computing
the tangent will result in (0, 0). In this case, use the prior
control point instead.
R=reed@google.com
BUG=skia:4191
Committed: https://skia.googlesource.com/skia/+/7544124fb8ee744f68f549a353f8a9163cd7432d
Patch Set 1 #
Total comments: 4
Patch Set 2 : remove duplicate code; add unit tests #
Messages
Total messages: 17 (6 generated)
|