| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 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 SkFontHost_DEFINED | 10 #ifndef SkFontHost_DEFINED |
| 11 #define SkFontHost_DEFINED | 11 #define SkFontHost_DEFINED |
| 12 | 12 |
| 13 #include "SkTypeface.h" | 13 #include "SkTypeface.h" |
| 14 | 14 |
| 15 #define SK_FONTHOST_USES_FONTMGR |
| 16 |
| 15 class SkDescriptor; | 17 class SkDescriptor; |
| 16 class SkScalerContext; | 18 class SkScalerContext; |
| 17 struct SkScalerContextRec; | 19 struct SkScalerContextRec; |
| 18 class SkStream; | 20 class SkStream; |
| 19 class SkWStream; | 21 class SkWStream; |
| 20 | 22 |
| 21 /** \class SkFontHost | 23 /** \class SkFontHost |
| 22 | 24 |
| 23 This class is ported to each environment. It is responsible for bridging | 25 This class is ported to each environment. It is responsible for bridging |
| 24 the gap between the (sort of) abstract class SkTypeface and the | 26 the gap between the (sort of) abstract class SkTypeface and the |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 */ | 124 */ |
| 123 static SkTypeface* CreateTypefaceFromFile(const char path[]); | 125 static SkTypeface* CreateTypefaceFromFile(const char path[]); |
| 124 | 126 |
| 125 /////////////////////////////////////////////////////////////////////////// | 127 /////////////////////////////////////////////////////////////////////////// |
| 126 | 128 |
| 127 friend class SkScalerContext; | 129 friend class SkScalerContext; |
| 128 friend class SkTypeface; | 130 friend class SkTypeface; |
| 129 }; | 131 }; |
| 130 | 132 |
| 131 #endif | 133 #endif |
| OLD | NEW |