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

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

Issue 305133006: use colortype instead of config (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 6 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/SkPictureUtils.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
11 #include "SkCanvas.h" 11 #include "SkCanvas.h"
12 #include "SkString.h" 12 #include "SkString.h"
13 13
14 /** \class SkObjectParser 14 /** \class SkObjectParser
15 15
16 The ObjectParser is used to return string information about parameters 16 The ObjectParser is used to return string information about parameters
17 in each draw command. 17 in each draw command.
18 */ 18 */
19 class SkObjectParser { 19 class SkObjectParser {
20 public: 20 public:
21 21
22 /** 22 /**
23 Returns a string about a bitmaps bounds and config. 23 Returns a string about a bitmaps bounds and colortype.
24 @param bitmap SkBitmap 24 @param bitmap SkBitmap
25 */ 25 */
26 static SkString* BitmapToString(const SkBitmap& bitmap); 26 static SkString* BitmapToString(const SkBitmap& bitmap);
27 27
28 /** 28 /**
29 Returns a string representation of a boolean. 29 Returns a string representation of a boolean.
30 @param doAA boolean 30 @param doAA boolean
31 */ 31 */
32 static SkString* BoolToString(bool doAA); 32 static SkString* BoolToString(bool doAA);
33 33
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/SkPictureUtils.cpp ('k') | src/utils/debugger/SkObjectParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698