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

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

Issue 461363003: add const to arrays of member functions (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | src/pathops/SkIntersections.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 #ifndef SkIntersections_DEFINE 7 #ifndef SkIntersections_DEFINE
8 #define SkIntersections_DEFINE 8 #define SkIntersections_DEFINE
9 9
10 #include "SkPathOpsCubic.h" 10 #include "SkPathOpsCubic.h"
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 bool fNearlySame[2]; // true if end points nearly match 280 bool fNearlySame[2]; // true if end points nearly match
281 unsigned char fUsed; 281 unsigned char fUsed;
282 unsigned char fMax; 282 unsigned char fMax;
283 bool fAllowNear; 283 bool fAllowNear;
284 bool fSwap; 284 bool fSwap;
285 #ifdef SK_DEBUG 285 #ifdef SK_DEBUG
286 int fDepth; 286 int fDepth;
287 #endif 287 #endif
288 }; 288 };
289 289
290 extern int (SkIntersections::*CurveRay[])(const SkPoint[], const SkDLine& ); 290 extern int (SkIntersections::* const CurveRay[])(const SkPoint[], const SkDLine& );
291 extern int (SkIntersections::*CurveVertical[])(const SkPoint[], SkScalar top, Sk Scalar bottom, 291 extern int (SkIntersections::* const CurveVertical[])(const SkPoint[], SkScalar top, SkScalar bottom,
292 SkScalar x, bool flipped); 292 SkScalar x, bool flipped);
293 293
294 #endif 294 #endif
OLDNEW
« no previous file with comments | « no previous file | src/pathops/SkIntersections.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698