Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: include/core/SkFontHost.h

Issue 21149008: refactoring for SK_FONTHOST_USES_FONTMGR option (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | include/core/SkTypeface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | include/core/SkTypeface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698