OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 The Android Open Source Project | 3 * Copyright 2012 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkPaintOptionsAndroid_DEFINED | 10 #ifndef SkPaintOptionsAndroid_DEFINED |
11 #define SkPaintOptionsAndroid_DEFINED | 11 #define SkPaintOptionsAndroid_DEFINED |
12 | 12 |
| 13 #include "SkTypes.h" |
| 14 #include "SkString.h" |
| 15 |
13 #ifdef SK_BUILD_FOR_ANDROID | 16 #ifdef SK_BUILD_FOR_ANDROID |
14 | 17 |
15 #include "SkString.h" | |
16 #include "SkTypes.h" | |
17 | |
18 class SkFlattenableReadBuffer; | 18 class SkFlattenableReadBuffer; |
19 class SkFlattenableWriteBuffer; | 19 class SkFlattenableWriteBuffer; |
20 | 20 |
21 /** \class SkLanguage | 21 /** \class SkLanguage |
22 | 22 |
23 The SkLanguage class represents a human written language, and is used by | 23 The SkLanguage class represents a human written language, and is used by |
24 text draw operations to determine which glyph to draw when drawing | 24 text draw operations to determine which glyph to draw when drawing |
25 characters with variants (ie Han-derived characters). | 25 characters with variants (ie Han-derived characters). |
26 */ | 26 */ |
27 class SkLanguage { | 27 class SkLanguage { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } | 120 } |
121 | 121 |
122 private: | 122 private: |
123 SkLanguage fLanguage; | 123 SkLanguage fLanguage; |
124 FontVariant fFontVariant; | 124 FontVariant fFontVariant; |
125 bool fUseFontFallbacks; | 125 bool fUseFontFallbacks; |
126 }; | 126 }; |
127 | 127 |
128 #endif // #ifdef SK_BUILD_FOR_ANDROID | 128 #endif // #ifdef SK_BUILD_FOR_ANDROID |
129 #endif // #ifndef SkPaintOptionsAndroid_DEFINED | 129 #endif // #ifndef SkPaintOptionsAndroid_DEFINED |
OLD | NEW |