use direction from isRect in strokeRect, and only stroke if it is closed
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 21 Nov 2012 15:48:20 +0000 (15:48 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 21 Nov 2012 15:48:20 +0000 (15:48 +0000)
commit04fdaa1afed8687a3b15226ddebcb798c94ddac5
treea595665cf3350a2bcff56acf65c1509cb14c26ea
parent7775fd5779e632d6f5724e0e5d39ed347cf965b0
use direction from isRect in strokeRect, and only stroke if it is closed
Review URL: https://codereview.appspot.com/6846086

git-svn-id: http://skia.googlecode.com/svn/trunk@6528 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkStroke.cpp
src/core/SkStroke.h