OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2010 The Android Open Source Project | 2 * Copyright 2010 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 #ifndef SkTextFormatParams_DEFINES | 9 #ifndef SkTextFormatParams_DEFINES |
11 #define SkTextFormatParams_DEFINES | 10 #define SkTextFormatParams_DEFINES |
(...skipping 18 matching lines...) Expand all Loading... |
30 }; | 29 }; |
31 static const SkScalar kStdFakeBoldInterpValues[] = { | 30 static const SkScalar kStdFakeBoldInterpValues[] = { |
32 SK_Scalar1/24, | 31 SK_Scalar1/24, |
33 SK_Scalar1/32, | 32 SK_Scalar1/32, |
34 }; | 33 }; |
35 static_assert(SK_ARRAY_COUNT(kStdFakeBoldInterpKeys) == SK_ARRAY_COUNT(kStdFakeB
oldInterpValues), | 34 static_assert(SK_ARRAY_COUNT(kStdFakeBoldInterpKeys) == SK_ARRAY_COUNT(kStdFakeB
oldInterpValues), |
36 "mismatched_array_size"); | 35 "mismatched_array_size"); |
37 static const int kStdFakeBoldInterpLength = SK_ARRAY_COUNT(kStdFakeBoldInterpKey
s); | 36 static const int kStdFakeBoldInterpLength = SK_ARRAY_COUNT(kStdFakeBoldInterpKey
s); |
38 | 37 |
39 #endif //SkTextFormatParams_DEFINES | 38 #endif //SkTextFormatParams_DEFINES |
OLD | NEW |