diff options
author | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:09:54 +0000 |
---|---|---|
committer | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:09:54 +0000 |
commit | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (patch) | |
tree | d8b4815d15946c32ee9d254e932411e93be942bb /src/core/SkScan.cpp | |
parent | 2abed834789bb64c7da740df4c47efc142b7311a (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkScan.cpp')
-rw-r--r-- | src/core/SkScan.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/SkScan.cpp b/src/core/SkScan.cpp index cee328f63e..30626f7640 100644 --- a/src/core/SkScan.cpp +++ b/src/core/SkScan.cpp @@ -21,7 +21,7 @@ void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, if (clip) { if (clip->isRect()) { const SkIRect& clipBounds = clip->getBounds(); - + if (clipBounds.contains(r)) { blitrect(blitter, r); } else { @@ -33,7 +33,7 @@ void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, } else { SkRegion::Cliperator cliper(*clip, r); const SkIRect& rr = cliper.rect(); - + while (!cliper.done()) { blitrect(blitter, rr); cliper.next(); @@ -48,7 +48,7 @@ void SkScan::FillIRect(const SkIRect& r, const SkRegion* clip, void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip, SkBlitter* blitter) { SkIRect r; - + XRect_round(xr, &r); SkScan::FillIRect(r, clip, blitter); } @@ -58,7 +58,7 @@ void SkScan::FillXRect(const SkXRect& xr, const SkRegion* clip, void SkScan::FillRect(const SkRect& r, const SkRegion* clip, SkBlitter* blitter) { SkIRect ir; - + r.round(&ir); SkScan::FillIRect(ir, clip, blitter); } @@ -72,7 +72,7 @@ void SkScan::FillIRect(const SkIRect& r, const SkRasterClip& clip, if (clip.isEmpty() || r.isEmpty()) { return; } - + if (clip.isBW()) { FillIRect(r, &clip.bwRgn(), blitter); return; @@ -87,7 +87,7 @@ void SkScan::FillXRect(const SkXRect& xr, const SkRasterClip& clip, if (clip.isEmpty() || xr.isEmpty()) { return; } - + if (clip.isBW()) { FillXRect(xr, &clip.bwRgn(), blitter); return; @@ -104,7 +104,7 @@ void SkScan::FillRect(const SkRect& r, const SkRasterClip& clip, if (clip.isEmpty() || r.isEmpty()) { return; } - + if (clip.isBW()) { FillRect(r, &clip.bwRgn(), blitter); return; |