| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The Android Open Source Project | 2 * Copyright 2011 The Android Open Source Project |
| 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 SKFONTCONFIGPARSER_ANDROID_H_ | 8 #ifndef SKFONTCONFIGPARSER_ANDROID_H_ |
| 9 #define SKFONTCONFIGPARSER_ANDROID_H_ | 9 #define SKFONTCONFIGPARSER_ANDROID_H_ |
| 10 | 10 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 int fOrder; // internal to SkFontConfigParser | 87 int fOrder; // internal to SkFontConfigParser |
| 88 bool fIsFallbackFont; | 88 bool fIsFallbackFont; |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 namespace SkFontConfigParser { | 91 namespace SkFontConfigParser { |
| 92 | 92 |
| 93 /** | 93 /** |
| 94 * Parses all system font configuration files and returns the results in an | 94 * Parses all system font configuration files and returns the results in an |
| 95 * array of FontFamily structures. | 95 * array of FontFamily structures. |
| 96 */ | 96 */ |
| 97 void GetFontFamilies(SkTDArray<FontFamily*> &fontFamilies); | 97 void GetFontFamilies(SkTDArray<FontFamily*>& fontFamilies); |
| 98 | 98 |
| 99 /** | 99 /** |
| 100 * Parses all test font configuration files and returns the results in an | 100 * Parses all test font configuration files and returns the results in an |
| 101 * array of FontFamily structures. | 101 * array of FontFamily structures. |
| 102 */ | 102 */ |
| 103 void GetTestFontFamilies(SkTDArray<FontFamily*> &fontFamilies, | 103 void GetTestFontFamilies(SkTDArray<FontFamily*>& fontFamilies, |
| 104 const char* testMainConfigFile, | 104 const char* testMainConfigFile, |
| 105 const char* testFallbackConfigFile); | 105 const char* testFallbackConfigFile); |
| 106 | 106 |
| 107 } // SkFontConfigParser namespace | 107 } // SkFontConfigParser namespace |
| 108 | 108 |
| 109 #endif /* SKFONTCONFIGPARSER_ANDROID_H_ */ | 109 #endif /* SKFONTCONFIGPARSER_ANDROID_H_ */ |
| OLD | NEW |