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

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

Issue 943333004: Remove SkFontHost includes and friends. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix comments. Created 5 years, 10 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
« 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 2011 Google Inc. 3 * Copyright 2011 Google Inc.
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 SkAdvancedTypefaceMetrics_DEFINED 10 #ifndef SkAdvancedTypefaceMetrics_DEFINED
11 #define SkAdvancedTypefaceMetrics_DEFINED 11 #define SkAdvancedTypefaceMetrics_DEFINED
12 12
13 #include "SkRect.h" 13 #include "SkRect.h"
14 #include "SkRefCnt.h" 14 #include "SkRefCnt.h"
15 #include "SkString.h" 15 #include "SkString.h"
16 #include "SkTDArray.h" 16 #include "SkTDArray.h"
17 #include "SkTemplates.h" 17 #include "SkTemplates.h"
18 18
19 /** \class SkAdvancedTypefaceMetrics 19 /** \class SkAdvancedTypefaceMetrics
20 20
21 The SkAdvancedTypefaceMetrics class is used by the PDF backend to correctly 21 The SkAdvancedTypefaceMetrics class is used by the PDF backend to correctly
22 embed typefaces. This class is filled in with information about a given 22 embed typefaces. This class is created and filled in with information by
23 typeface by the SkFontHost class. 23 SkTypeface::getAdvancedTypefaceMetrics.
24 */ 24 */
25 25
26 class SkAdvancedTypefaceMetrics : public SkRefCnt { 26 class SkAdvancedTypefaceMetrics : public SkRefCnt {
27 public: 27 public:
28 SK_DECLARE_INST_COUNT(SkAdvancedTypefaceMetrics) 28 SK_DECLARE_INST_COUNT(SkAdvancedTypefaceMetrics)
29 29
30 SkString fFontName; 30 SkString fFontName;
31 31
32 enum FontType { 32 enum FontType {
33 kType1_Font, 33 kType1_Font,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* getAdvanceData( 153 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* getAdvanceData(
154 FontHandle fontHandle, 154 FontHandle fontHandle,
155 int num_glyphs, 155 int num_glyphs,
156 const uint32_t* glyphIDs, 156 const uint32_t* glyphIDs,
157 uint32_t glyphIDsCount, 157 uint32_t glyphIDsCount,
158 bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data)); 158 bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data));
159 159
160 } // namespace skia_advanced_typeface_metrics_utils 160 } // namespace skia_advanced_typeface_metrics_utils
161 161
162 #endif 162 #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