diff options
author | 2014-10-15 09:00:27 -0700 | |
---|---|---|
committer | 2014-10-15 09:00:27 -0700 | |
commit | c553b7a7172bab052eed8432856c85fd01601b27 (patch) | |
tree | 8dc5c9ce51d18f84eb7c3b2335f3b694dde2b82c /src | |
parent | bcba2c9f9fcd14ac7123f9a7ac58fb834abba4e3 (diff) |
update dox for bounds in supersampler
BUG=skia:
TBR=caryclark@google.com
NOTRY=True
Review URL: https://codereview.chromium.org/657793003
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkScan_AntiPath.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp index 6049e7909b..158f34d265 100644 --- a/src/core/SkScan_AntiPath.cpp +++ b/src/core/SkScan_AntiPath.cpp @@ -83,6 +83,8 @@ BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, const SkIRect sectBounds; if (isInverse) { + // We use the clip bounds instead of the ir, since we may be asked to + //draw outside of the rect when we're a inverse filltype sectBounds = clip.getBounds(); } else { if (!sectBounds.intersect(ir, clip.getBounds())) { @@ -90,10 +92,6 @@ BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, const } } - /* - * We use the clip bounds instead of the ir, since we may be asked to - * draw outside of the rect if we're a inverse filltype - */ const int left = sectBounds.left(); const int right = sectBounds.right(); |