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 SkTypeface_DEFINED | 10 #ifndef SkTypeface_DEFINED |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 struct BoundsComputer; | 379 struct BoundsComputer; |
380 // friend struct BoundsComputer; | 380 // friend struct BoundsComputer; |
381 | 381 |
382 SkLazyPtr<SkRect> fLazyBounds; | 382 SkLazyPtr<SkRect> fLazyBounds; |
383 SkFontID fUniqueID; | 383 SkFontID fUniqueID; |
384 SkFontStyle fStyle; | 384 SkFontStyle fStyle; |
385 bool fIsFixedPitch; | 385 bool fIsFixedPitch; |
386 | 386 |
387 friend class SkPaint; | 387 friend class SkPaint; |
388 friend class SkGlyphCache; // GetDefaultTypeface | 388 friend class SkGlyphCache; // GetDefaultTypeface |
389 // just so deprecated fonthost can call protected methods | |
390 friend class SkFontHost; | |
391 | 389 |
392 typedef SkWeakRefCnt INHERITED; | 390 typedef SkWeakRefCnt INHERITED; |
393 }; | 391 }; |
394 | 392 |
395 #endif | 393 #endif |
OLD | NEW |