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

Side by Side Diff: experimental/Intersection/LineUtilities.h

Issue 867213004: remove prototype pathops code (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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright 2012 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7 #include "DataTypes.h"
8
9 bool implicitLine(const _Line& line, double& slope, double& axisIntercept);
10 int reduceOrder(const _Line& line, _Line& reduced);
11 double is_left(const _Line& line, const _Point& pt);
12 void sub_divide(const _Line& src, double t1, double t2, _Line& dst);
13 double t_at(const _Line&, const _Point& );
14 void xy_at_t(const _Line& , double t, double& x, double& y);
15 _Point xy_at_t(const _Line& , double t);
16
17 enum x_at_flags {
18 kFindTopMin = 1,
19 kFindTopMax = 2,
20 kFindBottomMin = 4,
21 kFindBottomMax = 8
22 };
23
24 void x_at(const _Point& p1, const _Point& p2, double minY, double maxY,
25 int flags, double& tMin, double& tMax);
OLDNEW
« no previous file with comments | « experimental/Intersection/LineQuadraticIntersection_Test.cpp ('k') | experimental/Intersection/LineUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698