diff options
author | caryclark <caryclark@google.com> | 2015-03-26 07:52:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-26 07:52:43 -0700 |
commit | 54359294a7c9dc54802d512a5d891a35c1663392 (patch) | |
tree | 7339bbad708bb43a4a96f7b76075c84ff7732189 /tests/PathOpsTestCommon.h | |
parent | c08330f1601aeca7f10aeb2194118decbfbf83e1 (diff) |
cumulative pathops patch
Replace the implicit curve intersection with a geometric curve intersection. The implicit intersection proved mathematically unstable and took a long time to zero in on an answer.
Use pointers instead of indices to refer to parts of curves. Indices required awkward renumbering.
Unify t and point values so that small intervals can be eliminated in one pass.
Break cubics up front to eliminate loops and cusps.
Make the Simplify and Op code more regular and eliminate arbitrary differences.
Add a builder that takes an array of paths and operators.
Delete unused code.
BUG=skia:3588
R=reed@google.com
Review URL: https://codereview.chromium.org/1037573004
Diffstat (limited to 'tests/PathOpsTestCommon.h')
-rw-r--r-- | tests/PathOpsTestCommon.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/PathOpsTestCommon.h b/tests/PathOpsTestCommon.h index 0c42bfbb05..7a72ff29a5 100644 --- a/tests/PathOpsTestCommon.h +++ b/tests/PathOpsTestCommon.h @@ -21,7 +21,6 @@ bool ValidLine(const SkDLine& line); bool ValidPoint(const SkDPoint& pt); bool ValidPoints(const SkPoint* pts, int count); bool ValidQuad(const SkDQuad& quad); -bool ValidTriangle(const SkDTriangle& triangle); bool ValidVector(const SkDVector& v); #endif |