diff options
author | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:09:54 +0000 |
---|---|---|
committer | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:09:54 +0000 |
commit | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (patch) | |
tree | d8b4815d15946c32ee9d254e932411e93be942bb /src/core/SkQuadClipper.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 'src/core/SkQuadClipper.h')
-rw-r--r-- | src/core/SkQuadClipper.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/SkQuadClipper.h b/src/core/SkQuadClipper.h index be0cea0349..c0b8695c91 100644 --- a/src/core/SkQuadClipper.h +++ b/src/core/SkQuadClipper.h @@ -14,16 +14,16 @@ /** This class is initialized with a clip rectangle, and then can be fed quads, which must already be monotonic in Y. - + In the future, it might return a series of segments, allowing it to clip also in X, to ensure that all segments fit in a finite coordinate system. */ class SkQuadClipper { public: SkQuadClipper(); - + void setClip(const SkIRect& clip); - + bool clipQuad(const SkPoint src[3], SkPoint dst[3]); private: @@ -40,11 +40,11 @@ public: bool clipCubic(const SkPoint pts[4], const SkRect& clip); SkPath::Verb next(SkPoint pts[]); - + private: SkPoint* fCurrPoint; SkPath::Verb* fCurrVerb; - + enum { kMaxVerbs = 13, kMaxPoints = 32 |