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

Side by Side Diff: include/core/SkPathMeasure.h

Issue 1707213002: Move SkTDArray to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
« no previous file with comments | « include/core/SkPathEffect.h ('k') | include/core/SkPathRef.h » ('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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 SkPathMeasure_DEFINED 8 #ifndef SkPathMeasure_DEFINED
9 #define SkPathMeasure_DEFINED 9 #define SkPathMeasure_DEFINED
10 10
11 #include "../private/SkTDArray.h"
11 #include "SkPath.h" 12 #include "SkPath.h"
12 #include "SkTDArray.h"
13 13
14 struct SkConic; 14 struct SkConic;
15 15
16 class SK_API SkPathMeasure : SkNoncopyable { 16 class SK_API SkPathMeasure : SkNoncopyable {
17 public: 17 public:
18 SkPathMeasure(); 18 SkPathMeasure();
19 /** Initialize the pathmeasure with the specified path. The path must remain valid 19 /** Initialize the pathmeasure with the specified path. The path must remain valid
20 for the lifetime of the measure object, or until setPath() is called wit h 20 for the lifetime of the measure object, or until setPath() is called wit h
21 a different path (or null), since the measure object keeps a pointer to the 21 a different path (or null), since the measure object keeps a pointer to the
22 path object (does not copy its data). 22 path object (does not copy its data).
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 SkScalar compute_cubic_segs(const SkPoint pts[3], SkScalar distance, 113 SkScalar compute_cubic_segs(const SkPoint pts[3], SkScalar distance,
114 int mint, int maxt, int ptIndex); 114 int mint, int maxt, int ptIndex);
115 const Segment* distanceToSegment(SkScalar distance, SkScalar* t); 115 const Segment* distanceToSegment(SkScalar distance, SkScalar* t);
116 bool quad_too_curvy(const SkPoint pts[3]); 116 bool quad_too_curvy(const SkPoint pts[3]);
117 bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt,const SkP oint& lastPt); 117 bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt,const SkP oint& lastPt);
118 bool cheap_dist_exceeds_limit(const SkPoint& pt, SkScalar x, SkScalar y); 118 bool cheap_dist_exceeds_limit(const SkPoint& pt, SkScalar x, SkScalar y);
119 bool cubic_too_curvy(const SkPoint pts[4]); 119 bool cubic_too_curvy(const SkPoint pts[4]);
120 }; 120 };
121 121
122 #endif 122 #endif
OLDNEW
« no previous file with comments | « include/core/SkPathEffect.h ('k') | include/core/SkPathRef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698