preserve inverseness when stroking
git-svn-id: http://skia.googlecode.com/svn/trunk@2916 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
419f43348a
commit
bb47232dce
@ -641,6 +641,12 @@ void SkStroke::strokePath(const SkPath& src, SkPath* dst) const {
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// our answer should preserve the inverseness of the src
|
||||
if (src.isInverseFillType()) {
|
||||
SkASSERT(!dst->isInverseFillType());
|
||||
dst->toggleInverseFillType();
|
||||
}
|
||||
}
|
||||
|
||||
void SkStroke::strokeLine(const SkPoint& p0, const SkPoint& p1,
|
||||
|
Loading…
Reference in New Issue
Block a user