| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfAttributeObjectDictionary | 1 /* |
| 2 #define __DEFINED__SkPdfAttributeObjectDictionary | 2 * Copyright 2013 Google Inc. |
| 3 | 3 |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef SkPdfAttributeObjectDictionary_DEFINED |
| 9 #define SkPdfAttributeObjectDictionary_DEFINED |
| 10 |
| 4 #include "SkPdfDictionary_autogen.h" | 11 #include "SkPdfDictionary_autogen.h" |
| 5 | 12 |
| 6 // Entry common to all attribute objects | 13 // Entry common to all attribute objects |
| 7 class SkPdfAttributeObjectDictionary : public SkPdfDictionary { | 14 class SkPdfAttributeObjectDictionary : public SkPdfDictionary { |
| 8 public: | 15 public: |
| 9 public: | 16 public: |
| 10 SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() {return this;} | 17 SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() {return this;} |
| 11 const SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() const {re
turn this;} | 18 const SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() const {re
turn this;} |
| 12 | 19 |
| 13 private: | 20 private: |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 | 515 |
| 509 SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDict
ionary*)this;} | 516 SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDict
ionary*)this;} |
| 510 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const
SkPdfType1FormDictionary*)this;} | 517 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const
SkPdfType1FormDictionary*)this;} |
| 511 | 518 |
| 512 public: | 519 public: |
| 513 bool valid() const {return true;} | 520 bool valid() const {return true;} |
| 514 SkString O(SkPdfNativeDoc* doc); | 521 SkString O(SkPdfNativeDoc* doc); |
| 515 bool has_O() const; | 522 bool has_O() const; |
| 516 }; | 523 }; |
| 517 | 524 |
| 518 #endif // __DEFINED__NATIVE_SkPdfAttributeObjectDictionary | 525 #endif // SkPdfAttributeObjectDictionary_DEFINED |
| OLD | NEW |