update fSegmentMask inside ::transform() (thank you validate!)

git-svn-id: http://skia.googlecode.com/svn/trunk@2293 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2011-09-21 12:58:51 +00:00
parent 10296ccb6a
commit b3b0a5b128

View File

@ -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();)