OLD | NEW |
(Empty) | |
| 1 #include "SkPdfTransitionDictionary_autogen.h" |
| 2 |
| 3 std::string SkPdfTransitionDictionary::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 double SkPdfTransitionDictionary::D() const { |
| 11 double ret; |
| 12 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &re
t)) return ret; |
| 13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 14 return 0; |
| 15 } |
| 16 |
| 17 std::string SkPdfTransitionDictionary::S() const { |
| 18 std::string ret; |
| 19 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)
) return ret; |
| 20 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 21 return ""; |
| 22 } |
| 23 |
| 24 std::string SkPdfTransitionDictionary::Dm() const { |
| 25 std::string ret; |
| 26 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Dm", "", &ret
)) return ret; |
| 27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 28 return ""; |
| 29 } |
| 30 |
| 31 std::string SkPdfTransitionDictionary::M() const { |
| 32 std::string ret; |
| 33 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "M", "", &ret)
) return ret; |
| 34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 35 return ""; |
| 36 } |
| 37 |
| 38 double SkPdfTransitionDictionary::Di() const { |
| 39 double ret; |
| 40 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Di", "", &r
et)) return ret; |
| 41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 42 return 0; |
| 43 } |
| 44 |
OLD | NEW |