Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: src/pdf/SkPDFResourceDict.h

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pdf/SkPDFGraphicState.cpp ('k') | src/pdf/SkPDFShader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 16 matching lines...) Expand all
27 kFont_ResourceType, 27 kFont_ResourceType,
28 // These additional types are defined by the spec, but not 28 // These additional types are defined by the spec, but not
29 // currently used by Skia: ColorSpace, Shading, Properties 29 // currently used by Skia: ColorSpace, Shading, Properties
30 kResourceTypeCount 30 kResourceTypeCount
31 }; 31 };
32 32
33 /** Create a PDF resource dictionary. 33 /** Create a PDF resource dictionary.
34 * The full set of ProcSet entries is automatically created for backwards 34 * The full set of ProcSet entries is automatically created for backwards
35 * compatibility, as recommended by the PDF spec. 35 * compatibility, as recommended by the PDF spec.
36 * 36 *
37 * Any arguments can be NULL. 37 * Any arguments can be nullptr.
38 */ 38 */
39 static SkPDFDict* Create( 39 static SkPDFDict* Create(
40 const SkTDArray<SkPDFObject*>* gStateResources, 40 const SkTDArray<SkPDFObject*>* gStateResources,
41 const SkTDArray<SkPDFObject*>* patternResources, 41 const SkTDArray<SkPDFObject*>* patternResources,
42 const SkTDArray<SkPDFObject*>* xObjectResources, 42 const SkTDArray<SkPDFObject*>* xObjectResources,
43 const SkTDArray<SkPDFObject*>* fontResources); 43 const SkTDArray<SkPDFObject*>* fontResources);
44 44
45 /** 45 /**
46 * Returns the name for the resource that will be generated by the resource 46 * Returns the name for the resource that will be generated by the resource
47 * dict. 47 * dict.
48 * 48 *
49 * @param type The type of resource being entered, like 49 * @param type The type of resource being entered, like
50 * kPattern_ResourceType or kExtGState_ResourceType. 50 * kPattern_ResourceType or kExtGState_ResourceType.
51 * @param key The resource key, should be unique within its type. 51 * @param key The resource key, should be unique within its type.
52 */ 52 */
53 static SkString getResourceName(SkPDFResourceType type, int key); 53 static SkString getResourceName(SkPDFResourceType type, int key);
54 }; 54 };
55 55
56 #endif 56 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFGraphicState.cpp ('k') | src/pdf/SkPDFShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698