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 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 * the input key. | 71 * the input key. |
72 * The object will NOT be part of the resource list when requested later. | 72 * The object will NOT be part of the resource list when requested later. |
73 * @param type The type of resource being entered. | 73 * @param type The type of resource being entered. |
74 * @param key The resource key, should be unique within its type. | 74 * @param key The resource key, should be unique within its type. |
75 * @param value The resource itself. | 75 * @param value The resource itself. |
76 * @return The value argument is returned. | 76 * @return The value argument is returned. |
77 */ | 77 */ |
78 SkPDFObject* insertResource(SkPDFResourceType type, int key, | 78 SkPDFObject* insertResource(SkPDFResourceType type, int key, |
79 SkPDFObject* value); | 79 SkPDFObject* value); |
80 | 80 |
81 SkTSet<SkPDFObject*> fResources; | |
82 | |
83 SkTDArray<SkPDFDict*> fTypes; | 81 SkTDArray<SkPDFDict*> fTypes; |
84 typedef SkPDFDict INHERITED; | 82 typedef SkPDFDict INHERITED; |
85 }; | 83 }; |
86 | 84 |
87 #endif | 85 #endif |
OLD | NEW |