diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-04-01 18:31:44 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-04-01 18:31:44 +0000 |
commit | d252db03d9650013b545ef9781fe993c07f8f314 (patch) | |
tree | 85afe2a17d58115d5e62225487e27308c7ad5f82 /src/effects | |
parent | 6c924ad46c89955e78e071c792ef00df9910b42f (diff) |
API change: SkPath computeBounds -> getBounds
git-svn-id: http://skia.googlecode.com/svn/trunk@140 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/Sk2DPathEffect.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/effects/Sk2DPathEffect.cpp b/src/effects/Sk2DPathEffect.cpp index 405b194f1f..603deb7ce4 100644 --- a/src/effects/Sk2DPathEffect.cpp +++ b/src/effects/Sk2DPathEffect.cpp @@ -45,12 +45,10 @@ bool Sk2DPathEffect::filterPath(SkPath* dst, const SkPath& src, SkScalar* width) { Sk2DPathEffectBlitter blitter(this, dst); SkPath tmp; - SkRect bounds; SkIRect ir; src.transform(fInverse, &tmp); - tmp.computeBounds(&bounds, SkPath::kExact_BoundsType); - bounds.round(&ir); + tmp.getBounds().round(&ir); if (!ir.isEmpty()) { // need to pass a clip to fillpath, required for inverse filltypes, // even though those do not make sense for this patheffect |