aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkLineClipper.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-02-09 08:33:07 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-09 08:33:07 -0800
commit31223e0cb74f47f63b094520a9830c525b72fe87 (patch)
treee8d733c11acb5c64c089fca92e0cc868f49fb7e3 /src/core/SkLineClipper.h
parent70a8ca8351b0338b7d63917a818433dc8d71d291 (diff)
cull edges that are to the right of the clip
Diffstat (limited to 'src/core/SkLineClipper.h')
-rw-r--r--src/core/SkLineClipper.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/SkLineClipper.h b/src/core/SkLineClipper.h
index d966dbc74c..11e0a73ca2 100644
--- a/src/core/SkLineClipper.h
+++ b/src/core/SkLineClipper.h
@@ -30,7 +30,7 @@ public:
3rd segment: lines[2]..lines[3]
*/
static int ClipLine(const SkPoint pts[2], const SkRect& clip,
- SkPoint lines[kMaxPoints], bool canClipToTheRight);
+ SkPoint lines[kMaxPoints], bool canCullToTheRight);
/* Intersect the line segment against the rect. If there is a non-empty
resulting segment, return true and set dst[] to that segment. If not,
@@ -40,8 +40,7 @@ public:
segments on the sides to show where the line extended beyond the
left or right sides. IntersectLine does not.
*/
- static bool IntersectLine(const SkPoint src[2], const SkRect& clip,
- SkPoint dst[2]);
+ static bool IntersectLine(const SkPoint src[2], const SkRect& clip, SkPoint dst[2]);
};
#endif