OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 SkPathPriv_DEFINED | 8 #ifndef SkPathPriv_DEFINED |
9 #define SkPathPriv_DEFINED | 9 #define SkPathPriv_DEFINED |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 return computedDir == dir; | 55 return computedDir == dir; |
56 } | 56 } |
57 | 57 |
58 static bool LastVerbIsClose(const SkPath& path) { | 58 static bool LastVerbIsClose(const SkPath& path) { |
59 int count = path.countVerbs(); | 59 int count = path.countVerbs(); |
60 return count >= 1 && path.fPathRef->verbs()[~(count - 1)] == SkPath::Ver
b::kClose_Verb; | 60 return count >= 1 && path.fPathRef->verbs()[~(count - 1)] == SkPath::Ver
b::kClose_Verb; |
61 } | 61 } |
62 }; | 62 }; |
63 | 63 |
64 #endif | 64 #endif |
OLD | NEW |