aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkLineClipper.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-02-06 19:29:15 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-06 19:29:15 -0800
commit2322115952c15c72a623837879cac1f85894b1b6 (patch)
treea76d35fe7903e1c065aeaa558cc8fe5667fa53c8 /src/core/SkLineClipper.h
parentc319d075eab86cacfd7aba27859b72bbf8fc0a64 (diff)
Faster edge re-sort, drop trailing edges
Diffstat (limited to 'src/core/SkLineClipper.h')
-rw-r--r--src/core/SkLineClipper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkLineClipper.h b/src/core/SkLineClipper.h
index 8026890b8d..d966dbc74c 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]);
+ SkPoint lines[kMaxPoints], bool canClipToTheRight);
/* 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,