Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: src/core/SkLineClipper.h

Issue 913503002: cull edges that are to the right of the clip (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkLineClipper.h
diff --git a/src/core/SkLineClipper.h b/src/core/SkLineClipper.h
index d966dbc74cb1ba10631dd181039dad8ce62e6dfe..11e0a73ca2a2d34e7140b18ee56aba4ba6df3245 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
« no previous file with comments | « src/core/SkEdgeClipper.cpp ('k') | src/core/SkLineClipper.cpp » ('j') | src/core/SkScan_Path.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698