OLD | NEW |
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 Loading... |
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 |
OLD | NEW |