| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2009 The Android Open Source Project | 2 * Copyright 2009 The Android Open Source Project |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 | 8 |
| 10 #include "SkEdgeClipper.h" | 9 #include "SkEdgeClipper.h" |
| 11 #include "SkGeometry.h" | 10 #include "SkGeometry.h" |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 assert_monotonic(&pts[0].fY, count); | 482 assert_monotonic(&pts[0].fY, count); |
| 484 } | 483 } |
| 485 } | 484 } |
| 486 | 485 |
| 487 void sk_assert_monotonic_x(const SkPoint pts[], int count) { | 486 void sk_assert_monotonic_x(const SkPoint pts[], int count) { |
| 488 if (count > 1) { | 487 if (count > 1) { |
| 489 assert_monotonic(&pts[0].fX, count); | 488 assert_monotonic(&pts[0].fX, count); |
| 490 } | 489 } |
| 491 } | 490 } |
| 492 #endif | 491 #endif |
| OLD | NEW |