| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 #include "SkPdfType16HalftoneDictionary_autogen.h" | 
|  | 2 | 
|  | 3 std::string SkPdfType16HalftoneDictionary::Type() const { | 
|  | 4   std::string ret; | 
|  | 5   if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &r
    et)) return ret; | 
|  | 6   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 7   return ""; | 
|  | 8 } | 
|  | 9 | 
|  | 10 long SkPdfType16HalftoneDictionary::HalftoneType() const { | 
|  | 11   long ret; | 
|  | 12   if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "HalftoneType"
    , "", &ret)) return ret; | 
|  | 13   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 14   return 0; | 
|  | 15 } | 
|  | 16 | 
|  | 17 std::string SkPdfType16HalftoneDictionary::HalftoneName() const { | 
|  | 18   std::string ret; | 
|  | 19   if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "HalftoneNam
    e", "", &ret)) return ret; | 
|  | 20   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 21   return ""; | 
|  | 22 } | 
|  | 23 | 
|  | 24 long SkPdfType16HalftoneDictionary::Width() const { | 
|  | 25   long ret; | 
|  | 26   if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Width", "", &
    ret)) return ret; | 
|  | 27   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 28   return 0; | 
|  | 29 } | 
|  | 30 | 
|  | 31 long SkPdfType16HalftoneDictionary::Height() const { | 
|  | 32   long ret; | 
|  | 33   if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Height", "", 
    &ret)) return ret; | 
|  | 34   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 35   return 0; | 
|  | 36 } | 
|  | 37 | 
|  | 38 long SkPdfType16HalftoneDictionary::Width2() const { | 
|  | 39   long ret; | 
|  | 40   if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Width2", "", 
    &ret)) return ret; | 
|  | 41   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 42   return 0; | 
|  | 43 } | 
|  | 44 | 
|  | 45 long SkPdfType16HalftoneDictionary::Height2() const { | 
|  | 46   long ret; | 
|  | 47   if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Height2", "",
     &ret)) return ret; | 
|  | 48   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 49   return 0; | 
|  | 50 } | 
|  | 51 | 
|  | 52 SkPdfFunction SkPdfType16HalftoneDictionary::getTransferFunctionAsFunction() con
    st { | 
|  | 53   SkPdfFunction ret = SkPdfFunction(); | 
|  | 54   if (FunctionFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TransferF
    unction", "", &ret)) return ret; | 
|  | 55   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 56   return SkPdfFunction(); | 
|  | 57 } | 
|  | 58 | 
|  | 59 std::string SkPdfType16HalftoneDictionary::getTransferFunctionAsName() const { | 
|  | 60   std::string ret = ""; | 
|  | 61   if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TransferFunct
    ion", "", &ret)) return ret; | 
|  | 62   // TODO(edisonn): warn about missing required field, assert for known good pdf
    s | 
|  | 63   return ""; | 
|  | 64 } | 
|  | 65 | 
| OLD | NEW | 
|---|