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

Side by Side Diff: src/pathops/SkPathOpsQuad.h

Issue 131103009: update pathops to circle sort (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: disable old test that still fails on linux 32 release Created 6 years, 8 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
« no previous file with comments | « src/pathops/SkPathOpsPoint.h ('k') | src/pathops/SkPathOpsQuad.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPathOpsQuad_DEFINED 8 #ifndef SkPathOpsQuad_DEFINED
9 #define SkPathOpsQuad_DEFINED 9 #define SkPathOpsQuad_DEFINED
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 SkDPoint subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t 2) const; 55 SkDPoint subDivide(const SkDPoint& a, const SkDPoint& c, double t1, double t 2) const;
56 static SkDPoint SubDivide(const SkPoint pts[3], const SkDPoint& a, const SkD Point& c, 56 static SkDPoint SubDivide(const SkPoint pts[3], const SkDPoint& a, const SkD Point& c,
57 double t1, double t2) { 57 double t1, double t2) {
58 SkDQuad quad; 58 SkDQuad quad;
59 quad.set(pts); 59 quad.set(pts);
60 return quad.subDivide(a, c, t1, t2); 60 return quad.subDivide(a, c, t1, t2);
61 } 61 }
62 SkDCubic toCubic() const; 62 SkDCubic toCubic() const;
63 SkDPoint top(double startT, double endT) const; 63 SkDPoint top(double startT, double endT) const;
64 64
65 #ifdef SK_DEBUG 65 // utilities callable by the user from the debugger when the implementation code is linked in
66 void dump(); 66 void dump() const;
67 #endif 67 void dumpComma(const char*) const;
68
68 private: 69 private:
69 // static double Tangent(const double* quadratic, double t); // uncalled 70 // static double Tangent(const double* quadratic, double t); // uncalled
70 }; 71 };
71 72
72 #endif 73 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkPathOpsPoint.h ('k') | src/pathops/SkPathOpsQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698