Change getConvexity() to now compute it if the value is set to kUnkown.
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 16 May 2011 14:16:04 +0000 (14:16 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 16 May 2011 14:16:04 +0000 (14:16 +0000)
commitb54455e440e66e0b1c30954d226226f49aac26d6
tree961a3683ec759e54413ce437522fbf55d1bd682c
parent27a4dc4c362a345431428cb61db27647ec1acd48
Change getConvexity() to now compute it if the value is set to kUnkown.
Change behavior for degenerate paths: now those return kConvex instead of kUnknown

git-svn-id: http://skia.googlecode.com/svn/trunk@1330 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkPath.h
src/core/SkPath.cpp
tests/PathTest.cpp