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

Side by Side Diff: tools/picture_utils.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 | « tools/lua/lua_pictures.cpp ('k') | tools/picture_utils.cpp » ('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 2012 Google Inc. 2 * Copyright 2012 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 picture_utils_DEFINED 8 #ifndef picture_utils_DEFINED
9 #define picture_utils_DEFINED 9 #define picture_utils_DEFINED
10 10
(...skipping 21 matching lines...) Expand all
32 // 32 //
33 // Specifically, it configures the bitmap, allocates pixels and then 33 // Specifically, it configures the bitmap, allocates pixels and then
34 // erases the pixels to transparent black. 34 // erases the pixels to transparent black.
35 void setup_bitmap(SkBitmap* bitmap, int width, int height); 35 void setup_bitmap(SkBitmap* bitmap, int width, int height);
36 36
37 /** 37 /**
38 * Write a bitmap file to disk. 38 * Write a bitmap file to disk.
39 * 39 *
40 * @param bm the bitmap to record 40 * @param bm the bitmap to record
41 * @param dirPath directory within which to write the image file 41 * @param dirPath directory within which to write the image file
42 * @param subdirOrNull subdirectory within dirPath, or NULL to just write in to dirPath 42 * @param subdirOrNull subdirectory within dirPath, or nullptr to just write into dirPath
43 * @param baseName last part of the filename 43 * @param baseName last part of the filename
44 * 44 *
45 * @return true if written out successfully 45 * @return true if written out successfully
46 */ 46 */
47 bool write_bitmap_to_disk(const SkBitmap& bm, const SkString& dirPath, 47 bool write_bitmap_to_disk(const SkBitmap& bm, const SkString& dirPath,
48 const char *subdirOrNull, const SkString& baseName ); 48 const char *subdirOrNull, const SkString& baseName );
49 49
50 } // namespace sk_tools 50 } // namespace sk_tools
51 51
52 #endif // picture_utils_DEFINED 52 #endif // picture_utils_DEFINED
OLDNEW
« no previous file with comments | « tools/lua/lua_pictures.cpp ('k') | tools/picture_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698