| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfType16HalftoneDictionary | 1 #ifndef __DEFINED__SkPdfType16HalftoneDictionary |
| 2 #define __DEFINED__SkPdfType16HalftoneDictionary | 2 #define __DEFINED__SkPdfType16HalftoneDictionary |
| 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 // Additional entries specific to a type 16 halftone dictionary | 9 // Additional entries specific to a type 16 halftone dictionary |
| 10 class SkPdfType16HalftoneDictionary : public SkPdfDictionary { | 10 class SkPdfType16HalftoneDictionary : public SkPdfDictionary { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 virtual SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary()
{return NULL;} | 58 virtual SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary()
{return NULL;} |
| 59 virtual const SkPdfBoxColorInformationDictionary* asBoxColorInformationDiction
ary() const {return NULL;} | 59 virtual const SkPdfBoxColorInformationDictionary* asBoxColorInformationDiction
ary() const {return NULL;} |
| 60 | 60 |
| 61 virtual SkPdfBoxStyleDictionary* asBoxStyleDictionary() {return NULL;} | 61 virtual SkPdfBoxStyleDictionary* asBoxStyleDictionary() {return NULL;} |
| 62 virtual const SkPdfBoxStyleDictionary* asBoxStyleDictionary() const {return NU
LL;} | 62 virtual const SkPdfBoxStyleDictionary* asBoxStyleDictionary() const {return NU
LL;} |
| 63 | 63 |
| 64 virtual SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() {ret
urn NULL;} | 64 virtual SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() {ret
urn NULL;} |
| 65 virtual const SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary(
) const {return NULL;} | 65 virtual const SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary(
) const {return NULL;} |
| 66 | 66 |
| 67 virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;} |
| 68 virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL
;} |
| 69 |
| 67 virtual SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() {return NULL
;} | 70 virtual SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() {return NULL
;} |
| 68 virtual const SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() const
{return NULL;} | 71 virtual const SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() const
{return NULL;} |
| 69 | 72 |
| 70 virtual SkPdfCMapDictionary* asCMapDictionary() {return NULL;} | 73 virtual SkPdfCMapDictionary* asCMapDictionary() {return NULL;} |
| 71 virtual const SkPdfCMapDictionary* asCMapDictionary() const {return NULL;} | 74 virtual const SkPdfCMapDictionary* asCMapDictionary() const {return NULL;} |
| 72 | 75 |
| 73 virtual SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() {ret
urn NULL;} | 76 virtual SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() {ret
urn NULL;} |
| 74 virtual const SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary(
) const {return NULL;} | 77 virtual const SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary(
) const {return NULL;} |
| 75 | 78 |
| 76 virtual SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() {retur
n NULL;} | 79 virtual SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() {retur
n NULL;} |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 159 |
| 157 virtual SkPdfFileTrailerDictionary* asFileTrailerDictionary() {return NULL;} | 160 virtual SkPdfFileTrailerDictionary* asFileTrailerDictionary() {return NULL;} |
| 158 virtual const SkPdfFileTrailerDictionary* asFileTrailerDictionary() const {ret
urn NULL;} | 161 virtual const SkPdfFileTrailerDictionary* asFileTrailerDictionary() const {ret
urn NULL;} |
| 159 | 162 |
| 160 virtual SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() {return NU
LL;} | 163 virtual SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() {return NU
LL;} |
| 161 virtual const SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() cons
t {return NULL;} | 164 virtual const SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() cons
t {return NULL;} |
| 162 | 165 |
| 163 virtual SkPdfFontDictionary* asFontDictionary() {return NULL;} | 166 virtual SkPdfFontDictionary* asFontDictionary() {return NULL;} |
| 164 virtual const SkPdfFontDictionary* asFontDictionary() const {return NULL;} | 167 virtual const SkPdfFontDictionary* asFontDictionary() const {return NULL;} |
| 165 | 168 |
| 166 virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;} | |
| 167 virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL
;} | |
| 168 | |
| 169 virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;} | 169 virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;} |
| 170 virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return
NULL;} | 170 virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return
NULL;} |
| 171 | 171 |
| 172 virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;} | 172 virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;} |
| 173 virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return
NULL;} | 173 virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return
NULL;} |
| 174 | 174 |
| 175 virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return
NULL;} | 175 virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return
NULL;} |
| 176 virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() co
nst {return NULL;} | 176 virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() co
nst {return NULL;} |
| 177 | 177 |
| 178 virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;} | 178 virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;} |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 bool isTransferFunctionAName() const { | 604 bool isTransferFunctionAName() const { |
| 605 SkPdfObject* ret = NULL; | 605 SkPdfObject* ret = NULL; |
| 606 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Transfer
Function", "", &ret)) return false; | 606 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Transfer
Function", "", &ret)) return false; |
| 607 return ret->podofo()->GetDataType() == ePdfDataType_Name; | 607 return ret->podofo()->GetDataType() == ePdfDataType_Name; |
| 608 } | 608 } |
| 609 | 609 |
| 610 std::string getTransferFunctionAsName() const; | 610 std::string getTransferFunctionAsName() const; |
| 611 }; | 611 }; |
| 612 | 612 |
| 613 #endif // __DEFINED__SkPdfType16HalftoneDictionary | 613 #endif // __DEFINED__SkPdfType16HalftoneDictionary |
| OLD | NEW |