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

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

Issue 953053002: SkPDF: remove SK_API on no-longer-public functions. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase: 2015-02-24 (Tuesday) 18:48:48 EST 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 | « src/pdf/SkPDFDocument.h ('k') | no next file » | 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 SkPDFFontImpl_DEFINED 10 #ifndef SkPDFFontImpl_DEFINED
11 #define SkPDFFontImpl_DEFINED 11 #define SkPDFFontImpl_DEFINED
12 12
13 #include "SkPDFFont.h" 13 #include "SkPDFFont.h"
14 14
15 class SkPDFType0Font : public SkPDFFont { 15 class SkPDFType0Font : public SkPDFFont {
16 public: 16 public:
17 virtual ~SkPDFType0Font(); 17 virtual ~SkPDFType0Font();
18 virtual bool multiByteGlyphs() const { return true; } 18 virtual bool multiByteGlyphs() const { return true; }
19 SK_API virtual SkPDFFont* getFontSubset(const SkPDFGlyphSet* usage); 19 virtual SkPDFFont* getFontSubset(const SkPDFGlyphSet* usage);
20 #ifdef SK_DEBUG 20 #ifdef SK_DEBUG
21 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog); 21 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog);
22 #endif 22 #endif
23 23
24 private: 24 private:
25 friend class SkPDFFont; // to access the constructor 25 friend class SkPDFFont; // to access the constructor
26 #ifdef SK_DEBUG 26 #ifdef SK_DEBUG
27 bool fPopulated; 27 bool fPopulated;
28 typedef SkPDFDict INHERITED; 28 typedef SkPDFDict INHERITED;
29 #endif 29 #endif
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 SkPDFType3Font(SkPDFCanon* canon, 84 SkPDFType3Font(SkPDFCanon* canon,
85 const SkAdvancedTypefaceMetrics* info, 85 const SkAdvancedTypefaceMetrics* info,
86 SkTypeface* typeface, 86 SkTypeface* typeface,
87 uint16_t glyphID); 87 uint16_t glyphID);
88 88
89 bool populate(uint16_t glyphID); 89 bool populate(uint16_t glyphID);
90 }; 90 };
91 91
92 #endif 92 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFDocument.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698