OLD | NEW |
1 #ifndef __DEFINED__SkPdfSoftMaskDictionary | 1 #ifndef __DEFINED__SkPdfSoftMaskDictionary |
2 #define __DEFINED__SkPdfSoftMaskDictionary | 2 #define __DEFINED__SkPdfSoftMaskDictionary |
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 soft-mask dictionary | 9 // Entries in a soft-mask dictionary |
10 class SkPdfSoftMaskDictionary : public SkPdfDictionary { | 10 class SkPdfSoftMaskDictionary : public SkPdfDictionary { |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 bool isTRAName() const { | 593 bool isTRAName() const { |
594 SkPdfObject* ret = NULL; | 594 SkPdfObject* ret = NULL; |
595 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TR", "",
&ret)) return false; | 595 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TR", "",
&ret)) return false; |
596 return ret->podofo()->GetDataType() == ePdfDataType_Name; | 596 return ret->podofo()->GetDataType() == ePdfDataType_Name; |
597 } | 597 } |
598 | 598 |
599 std::string getTRAsName() const; | 599 std::string getTRAsName() const; |
600 }; | 600 }; |
601 | 601 |
602 #endif // __DEFINED__SkPdfSoftMaskDictionary | 602 #endif // __DEFINED__SkPdfSoftMaskDictionary |
OLD | NEW |