OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 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 "SkStrokerPriv.h" | 9 #include "SkStrokerPriv.h" |
11 #include "SkGeometry.h" | 10 #include "SkGeometry.h" |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 241 |
243 SkStrokerPriv::JoinProc SkStrokerPriv::JoinFactory(SkPaint::Join join) | 242 SkStrokerPriv::JoinProc SkStrokerPriv::JoinFactory(SkPaint::Join join) |
244 { | 243 { |
245 static const SkStrokerPriv::JoinProc gJoiners[] = { | 244 static const SkStrokerPriv::JoinProc gJoiners[] = { |
246 MiterJoiner, RoundJoiner, BluntJoiner | 245 MiterJoiner, RoundJoiner, BluntJoiner |
247 }; | 246 }; |
248 | 247 |
249 SkASSERT((unsigned)join < SkPaint::kJoinCount); | 248 SkASSERT((unsigned)join < SkPaint::kJoinCount); |
250 return gJoiners[join]; | 249 return gJoiners[join]; |
251 } | 250 } |
OLD | NEW |