From 453995e01d884d62ce2e808e0067e494c0c9c7fa Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Sat, 10 Nov 2012 02:01:26 +0000 Subject: Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@6376 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkMaskFilter.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core') diff --git a/src/core/SkMaskFilter.cpp b/src/core/SkMaskFilter.cpp index 0eb3e6bb70..90925f1ff0 100644 --- a/src/core/SkMaskFilter.cpp +++ b/src/core/SkMaskFilter.cpp @@ -70,7 +70,7 @@ static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR, int cx = mask.fBounds.centerX(); int cy = mask.fBounds.centerY(); SkMask m; - + // top-left m.fBounds = mask.fBounds; m.fBounds.fRight = cx; @@ -78,7 +78,7 @@ static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR, extractMaskSubset(mask, &m); m.fBounds.offsetTo(outerR.left(), outerR.top()); blitClippedMask(blitter, m, m.fBounds, clipR); - + // top-right m.fBounds = mask.fBounds; m.fBounds.fLeft = cx + 1; @@ -86,7 +86,7 @@ static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR, extractMaskSubset(mask, &m); m.fBounds.offsetTo(outerR.right() - m.fBounds.width(), outerR.top()); blitClippedMask(blitter, m, m.fBounds, clipR); - + // bottom-left m.fBounds = mask.fBounds; m.fBounds.fRight = cx; @@ -94,7 +94,7 @@ static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR, extractMaskSubset(mask, &m); m.fBounds.offsetTo(outerR.left(), outerR.bottom() - m.fBounds.height()); blitClippedMask(blitter, m, m.fBounds, clipR); - + // bottom-right m.fBounds = mask.fBounds; m.fBounds.fLeft = cx + 1; @@ -174,9 +174,9 @@ static void draw_nine(const SkMask& mask, const SkIRect& outerR, // if we get here, we need to (possibly) resolve the clip and blitter SkAAClipBlitterWrapper wrapper(clip, blitter); blitter = wrapper.getBlitter(); - + SkRegion::Cliperator clipper(wrapper.getRgn(), outerR); - + if (!clipper.done() && (!bounder || bounder->doIRect(outerR))) { const SkIRect& cr = clipper.rect(); do { -- cgit v1.2.3