aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathUtils.h
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2017-08-28 10:24:22 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-28 16:53:27 +0000
commit419a94da028b33425a0feeb44d0d022a5d3d3704 (patch)
tree2a61554a992ae19c2f7620697c2baa026a237011 /src/gpu/GrPathUtils.h
parent7dda8dfb9d90f633af9a457b1c430f7cbf5536c5 (diff)
Add a GrCCPRGeometry file
Enough ccpr-specific geometry code is in flight that it feels like it should have its own file. Bug: skia: Change-Id: I99ef620a7dc35178cf774b3a4ec6159d46f401c7 Reviewed-on: https://skia-review.googlesource.com/39162 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrPathUtils.h')
-rw-r--r--src/gpu/GrPathUtils.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gpu/GrPathUtils.h b/src/gpu/GrPathUtils.h
index 4643bff716..e9dee7316a 100644
--- a/src/gpu/GrPathUtils.h
+++ b/src/gpu/GrPathUtils.h
@@ -124,14 +124,6 @@ namespace GrPathUtils {
SkPathPriv::FirstDirection dir,
SkTArray<SkPoint, true>* quads);
- // Ensures that a quadratic bezier is monotonic with respect to its vector [P2 - P0] (the vector
- // between its endpoints). In the event that the curve is not monotonic, it is chopped into two
- // segments that are monotonic. This should be rare for well-behaved curves in the real world.
- //
- // Returns false if the curve was already monotonic.
- // true if it was chopped into two monotonic segments, now contained in dst.
- bool chopMonotonicQuads(const SkPoint p[3], SkPoint dst[5]);
-
// Computes the KLM linear functionals for the cubic implicit form. The "right" side of the
// curve (when facing in the direction of increasing parameter values) will be the area that
// satisfies: