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

Side by Side Diff: src/pdf/SkPDFFont.h

Issue 2110033002: Remove unnecessary includes in src/pdf/ (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: fix order Created 4 years, 5 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 | « src/pdf/SkPDFDocument.cpp ('k') | src/pdf/SkPDFFont.cpp » ('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 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
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 8
9 #ifndef SkPDFFont_DEFINED 9 #ifndef SkPDFFont_DEFINED
10 #define SkPDFFont_DEFINED 10 #define SkPDFFont_DEFINED
11 11
12 #include "SkAdvancedTypefaceMetrics.h" 12 #include "SkAdvancedTypefaceMetrics.h"
13 #include "SkBitSet.h" 13 #include "SkBitSet.h"
14 #include "SkPDFTypes.h" 14 #include "SkPDFTypes.h"
15 #include "SkTDArray.h" 15 #include "SkTDArray.h"
16 #include "SkTypeface.h" 16 #include "SkTypeface.h"
17 17
18 class SkPaint;
19 class SkPDFCanon; 18 class SkPDFCanon;
20 class SkPDFObjNumMap;
21 class SkPDFFont; 19 class SkPDFFont;
22 20
23 class SkPDFGlyphSet : SkNoncopyable { 21 class SkPDFGlyphSet : SkNoncopyable {
24 public: 22 public:
25 SkPDFGlyphSet(); 23 SkPDFGlyphSet();
26 24
27 void set(const uint16_t* glyphIDs, int numGlyphs); 25 void set(const uint16_t* glyphIDs, int numGlyphs);
28 bool has(uint16_t glyphID) const; 26 bool has(uint16_t glyphID) const;
29 void merge(const SkPDFGlyphSet& usage); 27 void merge(const SkPDFGlyphSet& usage);
30 void exportTo(SkTDArray<uint32_t>* glyphIDs) const; 28 void exportTo(SkTDArray<uint32_t>* glyphIDs) const;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 uint16_t fLastGlyphID; 193 uint16_t fLastGlyphID;
196 sk_sp<const SkAdvancedTypefaceMetrics> fFontInfo; 194 sk_sp<const SkAdvancedTypefaceMetrics> fFontInfo;
197 sk_sp<SkPDFDict> fDescriptor; 195 sk_sp<SkPDFDict> fDescriptor;
198 196
199 SkAdvancedTypefaceMetrics::FontType fFontType; 197 SkAdvancedTypefaceMetrics::FontType fFontType;
200 198
201 typedef SkPDFDict INHERITED; 199 typedef SkPDFDict INHERITED;
202 }; 200 };
203 201
204 #endif 202 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFDocument.cpp ('k') | src/pdf/SkPDFFont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698