| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 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 SkTypeface_DEFINED | 8 #ifndef SkTypeface_DEFINED |
| 9 #define SkTypeface_DEFINED | 9 #define SkTypeface_DEFINED |
| 10 | 10 |
| 11 #include "../private/SkOncePtr.h" | 11 #include "../private/SkOncePtr.h" |
| 12 #include "../private/SkWeakRefCnt.h" | 12 #include "../private/SkWeakRefCnt.h" |
| 13 #include "SkFontStyle.h" | 13 #include "SkFontStyle.h" |
| 14 #include "SkRect.h" | 14 #include "SkRect.h" |
| 15 #include "SkString.h" | 15 #include "SkString.h" |
| 16 | 16 |
| 17 #define SK_SUPPORT_NEW_ONCREATESCALERCONTEXT | |
| 18 | |
| 19 class SkDescriptor; | 17 class SkDescriptor; |
| 20 class SkFontData; | 18 class SkFontData; |
| 21 class SkFontDescriptor; | 19 class SkFontDescriptor; |
| 22 class SkScalerContext; | 20 class SkScalerContext; |
| 23 struct SkScalerContextRec; | 21 struct SkScalerContextRec; |
| 24 struct SkScalerContextEffects; | 22 struct SkScalerContextEffects; |
| 25 class SkStream; | 23 class SkStream; |
| 26 class SkStreamAsset; | 24 class SkStreamAsset; |
| 27 class SkAdvancedTypefaceMetrics; | 25 class SkAdvancedTypefaceMetrics; |
| 28 class SkWStream; | 26 class SkWStream; |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 SkFontStyle fStyle; | 403 SkFontStyle fStyle; |
| 406 bool fIsFixedPitch; | 404 bool fIsFixedPitch; |
| 407 | 405 |
| 408 friend class SkPaint; | 406 friend class SkPaint; |
| 409 friend class SkGlyphCache; // GetDefaultTypeface | 407 friend class SkGlyphCache; // GetDefaultTypeface |
| 410 | 408 |
| 411 typedef SkWeakRefCnt INHERITED; | 409 typedef SkWeakRefCnt INHERITED; |
| 412 }; | 410 }; |
| 413 | 411 |
| 414 #endif | 412 #endif |
| OLD | NEW |