OLD | NEW |
1 #ifndef __DEFINED__SkPdfType0FontDictionary | 1 /* |
2 #define __DEFINED__SkPdfType0FontDictionary | 2 * Copyright 2013 Google Inc. |
3 | 3 |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef SkPdfType0FontDictionary_DEFINED |
| 9 #define SkPdfType0FontDictionary_DEFINED |
| 10 |
4 #include "SkPdfFontDictionary_autogen.h" | 11 #include "SkPdfFontDictionary_autogen.h" |
5 | 12 |
6 // Entries in a Type 0 font dictionary | 13 // Entries in a Type 0 font dictionary |
7 class SkPdfType0FontDictionary : public SkPdfFontDictionary { | 14 class SkPdfType0FontDictionary : public SkPdfFontDictionary { |
8 public: | 15 public: |
9 public: | 16 public: |
10 SkPdfType0FontDictionary* asType0FontDictionary() {return this;} | 17 SkPdfType0FontDictionary* asType0FontDictionary() {return this;} |
11 const SkPdfType0FontDictionary* asType0FontDictionary() const {return this;} | 18 const SkPdfType0FontDictionary* asType0FontDictionary() const {return this;} |
12 | 19 |
13 private: | 20 private: |
(...skipping 21 matching lines...) Expand all Loading... |
35 SkString getEncodingAsName(SkPdfNativeDoc* doc); | 42 SkString getEncodingAsName(SkPdfNativeDoc* doc); |
36 bool isEncodingAStream(SkPdfNativeDoc* doc); | 43 bool isEncodingAStream(SkPdfNativeDoc* doc); |
37 SkPdfStream* getEncodingAsStream(SkPdfNativeDoc* doc); | 44 SkPdfStream* getEncodingAsStream(SkPdfNativeDoc* doc); |
38 bool has_Encoding() const; | 45 bool has_Encoding() const; |
39 SkPdfArray* DescendantFonts(SkPdfNativeDoc* doc); | 46 SkPdfArray* DescendantFonts(SkPdfNativeDoc* doc); |
40 bool has_DescendantFonts() const; | 47 bool has_DescendantFonts() const; |
41 SkPdfStream* ToUnicode(SkPdfNativeDoc* doc); | 48 SkPdfStream* ToUnicode(SkPdfNativeDoc* doc); |
42 bool has_ToUnicode() const; | 49 bool has_ToUnicode() const; |
43 }; | 50 }; |
44 | 51 |
45 #endif // __DEFINED__NATIVE_SkPdfType0FontDictionary | 52 #endif // SkPdfType0FontDictionary_DEFINED |
OLD | NEW |