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:
parent
b435bd7d49
commit
1ae2090d3a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user