diff options
author | 2012-08-23 18:09:54 +0000 | |
---|---|---|
committer | 2012-08-23 18:09:54 +0000 | |
commit | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (patch) | |
tree | d8b4815d15946c32ee9d254e932411e93be942bb /include/utils/SkCullPoints.h | |
parent | 2abed834789bb64c7da740df4c47efc142b7311a (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils/SkCullPoints.h')
-rw-r--r-- | include/utils/SkCullPoints.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/utils/SkCullPoints.h b/include/utils/SkCullPoints.h index 5458b29781..fafa0fc085 100644 --- a/include/utils/SkCullPoints.h +++ b/include/utils/SkCullPoints.h @@ -16,13 +16,13 @@ class SkCullPoints { public: SkCullPoints(); SkCullPoints(const SkIRect& r); - + void reset(const SkIRect& r); - + /** Start a contour at (x,y). Follow this with call(s) to lineTo(...) */ void moveTo(int x, int y); - + enum LineToResult { kNo_Result, //!< line segment was completely clipped out kLineTo_Result, //!< path.lineTo(pts[1]); @@ -37,7 +37,7 @@ private: SkIPoint fAsQuad[4]; // cache of fR as 4 points SkIPoint fPrevPt; // private state LineToResult fPrevResult; // private state - + bool sect_test(int x0, int y0, int x1, int y1) const; }; @@ -56,7 +56,7 @@ public: SkCullPointsPath(const SkIRect& r, SkPath* dst); void reset(const SkIRect& r, SkPath* dst); - + void moveTo(int x, int y); void lineTo(int x, int y); |