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

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

Issue 21359002: path ops work in progress (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: remove space Created 7 years, 3 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 | Annotate | Revision Log
« 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 54 }
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
65 #ifdef SK_DEBUG
66 void dump();
67 #endif
64 private: 68 private:
65 // static double Tangent(const double* quadratic, double t); // uncalled 69 // static double Tangent(const double* quadratic, double t); // uncalled
66 }; 70 };
67 71
68 #endif 72 #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