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

Side by Side Diff: src/pathops/SkPathOpsCubic.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/SkPathOpsCommon.cpp ('k') | src/pathops/SkPathOpsCubic.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 SkPathOpsCubic_DEFINED 8 #ifndef SkPathOpsCubic_DEFINED
9 #define SkPathOpsCubic_DEFINED 9 #define SkPathOpsCubic_DEFINED
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 double t2, SkDPoint p[2]) { 71 double t2, SkDPoint p[2]) {
72 SkDCubic cubic; 72 SkDCubic cubic;
73 cubic.set(pts); 73 cubic.set(pts);
74 cubic.subDivide(a, d, t1, t2, p); 74 cubic.subDivide(a, d, t1, t2, p);
75 } 75 }
76 76
77 SkDPoint top(double startT, double endT) const; 77 SkDPoint top(double startT, double endT) const;
78 void toQuadraticTs(double precision, SkTArray<double, true>* ts) const; 78 void toQuadraticTs(double precision, SkTArray<double, true>* ts) const;
79 SkDQuad toQuad() const; 79 SkDQuad toQuad() const;
80 80
81 #ifdef SK_DEBUG 81 // utilities callable by the user from the debugger when the implementation code is linked in
82 void dump(); 82 void dump() const;
83 #endif 83 void dumpNumber() const;
84 }; 84 };
85 85
86 #endif 86 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkPathOpsCommon.cpp ('k') | src/pathops/SkPathOpsCubic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698