stroking wants CW, so we reverse if the orig was CCW

git-svn-id: http://skia.googlecode.com/svn/trunk@3004 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2012-01-10 21:30:57 +00:00
parent b435bd7d49
commit 1ae2090d3a

View File

@ -619,7 +619,7 @@ void SkStroke::strokePath(const SkPath& src, SkPath* dst) const {
#endif
if (fDoFill) {
if (src.cheapIsDirection(SkPath::kCW_Direction)) {
if (src.cheapIsDirection(SkPath::kCCW_Direction)) {
dst->reverseAddPath(src);
} else {
dst->addPath(src);