fix cheapComputeDirection() in the non-convex case to pivot on the y-max point
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 11 Jan 2012 18:16:39 +0000 (18:16 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 11 Jan 2012 18:16:39 +0000 (18:16 +0000)
commit3d19c385e7c0bdd94171bf4892b991b77880c5ed
tree37b03fc7a4cbdb0ef8f07879ec825c64f13ba6f8
parentb9349e1cb5a0fedcb7ee7a2fd3c6585b5302bfe8
fix cheapComputeDirection() in the non-convex case to pivot on the y-max point
rather than pivoting on the next. Also remove the loop, as it is just logically
wrong to think we can use this trick only a non-extrema pt.

git-svn-id: http://skia.googlecode.com/svn/trunk@3014 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/strokefill.cpp
src/core/SkPath.cpp