OLD | NEW |
1 #ifndef __DEFINED__SkPdfType1FontDictionary | 1 /* |
2 #define __DEFINED__SkPdfType1FontDictionary | 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 SkPdfType1FontDictionary_DEFINED |
| 9 #define SkPdfType1FontDictionary_DEFINED |
| 10 |
4 #include "SkPdfFontDictionary_autogen.h" | 11 #include "SkPdfFontDictionary_autogen.h" |
5 | 12 |
6 // Entries in a Type 1 font dictionary | 13 // Entries in a Type 1 font dictionary |
7 class SkPdfType1FontDictionary : public SkPdfFontDictionary { | 14 class SkPdfType1FontDictionary : public SkPdfFontDictionary { |
8 public: | 15 public: |
9 public: | 16 public: |
10 SkPdfType1FontDictionary* asType1FontDictionary() {return this;} | 17 SkPdfType1FontDictionary* asType1FontDictionary() {return this;} |
11 const SkPdfType1FontDictionary* asType1FontDictionary() const {return this;} | 18 const SkPdfType1FontDictionary* asType1FontDictionary() const {return this;} |
12 | 19 |
13 private: | 20 private: |
(...skipping 20 matching lines...) Expand all Loading... |
34 bool has_FontDescriptor() const; | 41 bool has_FontDescriptor() const; |
35 bool isEncodingAName(SkPdfNativeDoc* doc); | 42 bool isEncodingAName(SkPdfNativeDoc* doc); |
36 SkString getEncodingAsName(SkPdfNativeDoc* doc); | 43 SkString getEncodingAsName(SkPdfNativeDoc* doc); |
37 bool isEncodingADictionary(SkPdfNativeDoc* doc); | 44 bool isEncodingADictionary(SkPdfNativeDoc* doc); |
38 SkPdfDictionary* getEncodingAsDictionary(SkPdfNativeDoc* doc); | 45 SkPdfDictionary* getEncodingAsDictionary(SkPdfNativeDoc* doc); |
39 bool has_Encoding() const; | 46 bool has_Encoding() const; |
40 SkPdfStream* ToUnicode(SkPdfNativeDoc* doc); | 47 SkPdfStream* ToUnicode(SkPdfNativeDoc* doc); |
41 bool has_ToUnicode() const; | 48 bool has_ToUnicode() const; |
42 }; | 49 }; |
43 | 50 |
44 #endif // __DEFINED__NATIVE_SkPdfType1FontDictionary | 51 #endif // SkPdfType1FontDictionary_DEFINED |
OLD | NEW |