diff options
author | 2009-04-01 18:31:44 +0000 | |
---|---|---|
committer | 2009-04-01 18:31:44 +0000 | |
commit | d252db03d9650013b545ef9781fe993c07f8f314 (patch) | |
tree | 85afe2a17d58115d5e62225487e27308c7ad5f82 /src/core/SkScan_Path.cpp | |
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/core/SkScan_Path.cpp')
-rw-r--r-- | src/core/SkScan_Path.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/SkScan_Path.cpp b/src/core/SkScan_Path.cpp index fcf1530c80..ead1b8573a 100644 --- a/src/core/SkScan_Path.cpp +++ b/src/core/SkScan_Path.cpp @@ -582,11 +582,8 @@ void SkScan::FillPath(const SkPath& path, const SkRegion& clip, return; } - SkRect r; SkIRect ir; - - path.computeBounds(&r, SkPath::kFast_BoundsType); - r.round(&ir); + path.getBounds().round(&ir); if (ir.isEmpty()) { if (path.isInverseFillType()) { blitter->blitRegion(clip); |