aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkLineClipper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkLineClipper.h')
-rw-r--r--include/core/SkLineClipper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkLineClipper.h b/include/core/SkLineClipper.h
index 1958395032..2c75e5e2d5 100644
--- a/include/core/SkLineClipper.h
+++ b/include/core/SkLineClipper.h
@@ -14,7 +14,8 @@
class SkLineClipper {
public:
enum {
- kMaxPoints = 4
+ kMaxPoints = 4,
+ kMaxClippedLineSegments = kMaxPoints - 1
};
/* Clip the line pts[0]...pts[1] against clip, ignoring segments that