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

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

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 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/lazy/SkDiscardablePixelRef.h ('k') | src/pdf/SkPDFGraphicState.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 SkPDFFont_DEFINED 10 #ifndef SkPDFFont_DEFINED
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 72
73 /** \class SkPDFFont 73 /** \class SkPDFFont
74 A PDF Object class representing a font. The font may have resources 74 A PDF Object class representing a font. The font may have resources
75 attached to it in order to embed the font. SkPDFFonts are canonicalized 75 attached to it in order to embed the font. SkPDFFonts are canonicalized
76 so that resource deduplication will only include one copy of a font. 76 so that resource deduplication will only include one copy of a font.
77 This class uses the same pattern as SkPDFGraphicState, a static weak 77 This class uses the same pattern as SkPDFGraphicState, a static weak
78 reference to each instantiated class. 78 reference to each instantiated class.
79 */ 79 */
80 class SkPDFFont : public SkPDFDict { 80 class SkPDFFont : public SkPDFDict {
81 SK_DECLARE_INST_COUNT(SkPDFFont) 81
82 public: 82 public:
83 virtual ~SkPDFFont(); 83 virtual ~SkPDFFont();
84 84
85 /** Returns the typeface represented by this class. Returns NULL for the 85 /** Returns the typeface represented by this class. Returns NULL for the
86 * default typeface. 86 * default typeface.
87 */ 87 */
88 SkTypeface* typeface(); 88 SkTypeface* typeface();
89 89
90 /** Returns the font type represented in this font. For Type0 fonts, 90 /** Returns the font type represented in this font. For Type0 fonts,
91 * returns the type of the decendant font. 91 * returns the type of the decendant font.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 uint16_t fLastGlyphID; 196 uint16_t fLastGlyphID;
197 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fFontInfo; 197 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fFontInfo;
198 SkAutoTUnref<SkPDFDict> fDescriptor; 198 SkAutoTUnref<SkPDFDict> fDescriptor;
199 199
200 SkAdvancedTypefaceMetrics::FontType fFontType; 200 SkAdvancedTypefaceMetrics::FontType fFontType;
201 201
202 typedef SkPDFDict INHERITED; 202 typedef SkPDFDict INHERITED;
203 }; 203 };
204 204
205 #endif 205 #endif
OLDNEW
« no previous file with comments | « src/lazy/SkDiscardablePixelRef.h ('k') | src/pdf/SkPDFGraphicState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698