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