OLD | NEW |
1 #ifndef __DEFINED__SkPdfCIDFontDictionary | 1 #ifndef __DEFINED__SkPdfCIDFontDictionary |
2 #define __DEFINED__SkPdfCIDFontDictionary | 2 #define __DEFINED__SkPdfCIDFontDictionary |
3 | 3 |
4 #include "SkPdfUtils.h" | 4 #include "SkPdfUtils.h" |
5 #include "SkPdfEnums_autogen.h" | 5 #include "SkPdfEnums_autogen.h" |
6 #include "SkPdfArray_autogen.h" | 6 #include "SkPdfArray_autogen.h" |
7 #include "SkPdfDictionary_autogen.h" | 7 #include "SkPdfDictionary_autogen.h" |
8 | 8 |
9 // Entries in a CIDFont dictionary | 9 // Entries in a CIDFont dictionary |
10 class SkPdfCIDFontDictionary : public SkPdfDictionary { | 10 class SkPdfCIDFontDictionary : public SkPdfDictionary { |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 bool isCIDToGIDMapAName() const { | 630 bool isCIDToGIDMapAName() const { |
631 SkPdfObject* ret = NULL; | 631 SkPdfObject* ret = NULL; |
632 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDToGID
Map", "", &ret)) return false; | 632 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDToGID
Map", "", &ret)) return false; |
633 return ret->podofo()->GetDataType() == ePdfDataType_Name; | 633 return ret->podofo()->GetDataType() == ePdfDataType_Name; |
634 } | 634 } |
635 | 635 |
636 std::string getCIDToGIDMapAsName() const; | 636 std::string getCIDToGIDMapAsName() const; |
637 }; | 637 }; |
638 | 638 |
639 #endif // __DEFINED__SkPdfCIDFontDictionary | 639 #endif // __DEFINED__SkPdfCIDFontDictionary |
OLD | NEW |