| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkPDFResourceDict_DEFINED | 8 #ifndef SkPDFResourceDict_DEFINED |
| 9 #define SkPDFResourceDict_DEFINED | 9 #define SkPDFResourceDict_DEFINED |
| 10 | 10 |
| 11 #include "SkPDFTypes.h" | 11 #include "SkPDFTypes.h" |
| 12 #include "SkTDArray.h" | 12 #include "SkTDArray.h" |
| 13 #include "SkTSet.h" | |
| 14 #include "SkTypes.h" | 13 #include "SkTypes.h" |
| 15 | 14 |
| 16 /** \class SkPDFResourceDict | 15 /** \class SkPDFResourceDict |
| 17 | 16 |
| 18 A resource dictionary, which maintains the relevant sub-dicts and | 17 A resource dictionary, which maintains the relevant sub-dicts and |
| 19 allows generation of a list of referenced SkPDFObjects inserted with | 18 allows generation of a list of referenced SkPDFObjects inserted with |
| 20 insertResourceAsRef. | 19 insertResourceAsRef. |
| 21 */ | 20 */ |
| 22 class SkPDFResourceDict : public SkPDFDict { | 21 class SkPDFResourceDict : public SkPDFDict { |
| 23 public: | 22 public: |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 * @return The value argument is returned. | 75 * @return The value argument is returned. |
| 77 */ | 76 */ |
| 78 SkPDFObject* insertResource(SkPDFResourceType type, int key, | 77 SkPDFObject* insertResource(SkPDFResourceType type, int key, |
| 79 SkPDFObject* value); | 78 SkPDFObject* value); |
| 80 | 79 |
| 81 SkTDArray<SkPDFDict*> fTypes; | 80 SkTDArray<SkPDFDict*> fTypes; |
| 82 typedef SkPDFDict INHERITED; | 81 typedef SkPDFDict INHERITED; |
| 83 }; | 82 }; |
| 84 | 83 |
| 85 #endif | 84 #endif |
| OLD | NEW |