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

Side by Side Diff: tools/sk_tool_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/render_pictures_main.cpp ('k') | tools/sk_tool_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 2014 Google Inc. 2 * Copyright 2014 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 sk_tool_utils_DEFINED 8 #ifndef sk_tool_utils_DEFINED
9 #define sk_tool_utils_DEFINED 9 #define sk_tool_utils_DEFINED
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const char* platform_extra_config(const char* config); 61 const char* platform_extra_config(const char* config);
62 62
63 /** 63 /**
64 * Map serif, san-serif, and monospace to the platform-specific font name. 64 * Map serif, san-serif, and monospace to the platform-specific font name.
65 */ 65 */
66 const char* platform_font_name(const char* name); 66 const char* platform_font_name(const char* name);
67 67
68 /** 68 /**
69 * Sets the paint to use a platform-independent text renderer 69 * Sets the paint to use a platform-independent text renderer
70 */ 70 */
71 void set_portable_typeface(SkPaint* paint, const char* name = NULL, 71 void set_portable_typeface(SkPaint* paint, const char* name = nullptr,
72 SkTypeface::Style style = SkTypeface::kNormal); 72 SkTypeface::Style style = SkTypeface::kNormal);
73 73
74 /** 74 /**
75 * Returns a platform-independent text renderer. 75 * Returns a platform-independent text renderer.
76 */ 76 */
77 SkTypeface* create_portable_typeface(const char* name, SkTypeface::Style sty le); 77 SkTypeface* create_portable_typeface(const char* name, SkTypeface::Style sty le);
78 78
79 /** Call to clean up portable font references. */ 79 /** Call to clean up portable font references. */
80 void release_portable_typefaces(); 80 void release_portable_typefaces();
81 81
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst); 122 void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst);
123 123
124 void create_frustum_normal_map(SkBitmap* bm, const SkIRect& dst); 124 void create_frustum_normal_map(SkBitmap* bm, const SkIRect& dst);
125 125
126 void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst); 126 void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst);
127 127
128 } // namespace sk_tool_utils 128 } // namespace sk_tool_utils
129 129
130 #endif // sk_tool_utils_DEFINED 130 #endif // sk_tool_utils_DEFINED
OLDNEW
« no previous file with comments | « tools/render_pictures_main.cpp ('k') | tools/sk_tool_utils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698