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

Side by Side Diff: experimental/Intersection/QuadraticParameterization.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 #include "DataTypes.h"
2
3 class QuadImplicitForm {
4 public:
5 QuadImplicitForm(const Quadratic& q);
6 bool implicit_match(const QuadImplicitForm& two) const;
7
8 double x2() const { return p[xx_coeff]; }
9 double xy() const { return p[xy_coeff]; }
10 double y2() const { return p[yy_coeff]; }
11 double x() const { return p[x_coeff]; }
12 double y() const { return p[y_coeff]; }
13 double c() const { return p[c_coeff]; }
14
15 private:
16 enum Coeffs {
17 xx_coeff,
18 xy_coeff,
19 yy_coeff,
20 x_coeff,
21 y_coeff,
22 c_coeff,
23 coeff_count
24 };
25
26 double p[coeff_count];
27 };
OLDNEW
« no previous file with comments | « experimental/Intersection/QuadraticLineSegments.cpp ('k') | experimental/Intersection/QuadraticParameterization.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698