diff options
author | 2011-09-21 12:58:51 +0000 | |
---|---|---|
committer | 2011-09-21 12:58:51 +0000 | |
commit | b3b0a5b128885cc82d07be98c8c57614b9eea3dd (patch) | |
tree | d8a08741cfc74d2557e04ad21d4e2775dd564e29 /src/core/SkPath.cpp | |
parent | 10296ccb6a63c65b2e60733a929bf15d8bf94309 (diff) |
update fSegmentMask inside ::transform() (thank you validate!)
git-svn-id: http://skia.googlecode.com/svn/trunk@2293 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPath.cpp')
-rw-r--r-- | src/core/SkPath.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index 2c363ce101..cf4e63a232 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -1115,6 +1115,7 @@ void SkPath::transform(const SkMatrix& matrix, SkPath* dst) const { dst->fVerbs = fVerbs; dst->fPts.setCount(fPts.count()); dst->fFillType = fFillType; + dst->fSegmentMask = fSegmentMask; } matrix.mapPoints(dst->fPts.begin(), fPts.begin(), fPts.count()); SkDEBUGCODE(dst->validate();) |