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

Side by Side Diff: src/utils/debugger/SkObjectParser.h

Issue 249253003: Hide SaveFlags from the public SkCanvas API. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Suppress the canvas-state GM. Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/utils/debugger/SkDrawCommand.cpp ('k') | src/utils/debugger/SkObjectParser.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 SKOBJECTPARSER_H_ 8 #ifndef SKOBJECTPARSER_H_
9 #define SKOBJECTPARSER_H_ 9 #define SKOBJECTPARSER_H_
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 /** 100 /**
101 Returns a string representation of the SkRegion. 101 Returns a string representation of the SkRegion.
102 @param region SkRegion 102 @param region SkRegion
103 */ 103 */
104 static SkString* RegionToString(const SkRegion& region); 104 static SkString* RegionToString(const SkRegion& region);
105 105
106 /** 106 /**
107 Returns a string representation of the SkCanvas::SaveFlags enum. 107 Returns a string representation of the SkCanvas::SaveFlags enum.
108 @param flags SkCanvas::SaveFlags enum 108 @param flags SkCanvas::SaveFlags enum
109 */ 109 */
110 static SkString* SaveFlagsToString(SkCanvas::SaveFlags flags); 110 static SkString* SaveFlagsToString(unsigned flags);
111 111
112 /** 112 /**
113 Returns a string representation of an SkScalar with the text parameter 113 Returns a string representation of an SkScalar with the text parameter
114 at the front of the string. 114 at the front of the string.
115 @param x SkScalar 115 @param x SkScalar
116 @param text 116 @param text
117 */ 117 */
118 static SkString* ScalarToString(SkScalar x, const char* text); 118 static SkString* ScalarToString(SkScalar x, const char* text);
119 119
120 /** 120 /**
121 Returns a string representation of the char pointer passed in. 121 Returns a string representation of the char pointer passed in.
122 @param text const void* that will be cast to a char* 122 @param text const void* that will be cast to a char*
123 */ 123 */
124 static SkString* TextToString(const void* text, size_t byteLength, 124 static SkString* TextToString(const void* text, size_t byteLength,
125 SkPaint::TextEncoding encoding); 125 SkPaint::TextEncoding encoding);
126 }; 126 };
127 127
128 #endif 128 #endif
OLDNEW
« no previous file with comments | « src/utils/debugger/SkDrawCommand.cpp ('k') | src/utils/debugger/SkObjectParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698