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

Side by Side Diff: Source/platform/graphics/LoggingCanvas.h

Issue 1013803002: SkPaint::FilterLevel -> SkFilterQuality (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 String verbName(SkPath::Verb); 107 String verbName(SkPath::Verb);
108 VerbParams segmentParams(SkPath::Verb); 108 VerbParams segmentParams(SkPath::Verb);
109 PassRefPtr<JSONObject> objectForSkPath(const SkPath&); 109 PassRefPtr<JSONObject> objectForSkPath(const SkPath&);
110 String colorTypeName(SkColorType); 110 String colorTypeName(SkColorType);
111 PassRefPtr<JSONObject> objectForBitmapData(const SkBitmap&); 111 PassRefPtr<JSONObject> objectForBitmapData(const SkBitmap&);
112 PassRefPtr<JSONObject> objectForSkBitmap(const SkBitmap&); 112 PassRefPtr<JSONObject> objectForSkBitmap(const SkBitmap&);
113 PassRefPtr<JSONObject> objectForSkShader(const SkShader&); 113 PassRefPtr<JSONObject> objectForSkShader(const SkShader&);
114 String stringForSkColor(const SkColor&); 114 String stringForSkColor(const SkColor&);
115 void appendFlagToString(String* flagsString, bool isSet, const String& name) ; 115 void appendFlagToString(String* flagsString, bool isSet, const String& name) ;
116 String stringForSkPaintFlags(const SkPaint&); 116 String stringForSkPaintFlags(const SkPaint&);
117 String filterLevelName(SkPaint::FilterLevel); 117 String filterQualityName(SkFilterQuality);
118 String textAlignName(SkPaint::Align); 118 String textAlignName(SkPaint::Align);
119 String strokeCapName(SkPaint::Cap); 119 String strokeCapName(SkPaint::Cap);
120 String strokeJoinName(SkPaint::Join); 120 String strokeJoinName(SkPaint::Join);
121 String styleName(SkPaint::Style); 121 String styleName(SkPaint::Style);
122 String textEncodingName(SkPaint::TextEncoding); 122 String textEncodingName(SkPaint::TextEncoding);
123 String hintingName(SkPaint::Hinting); 123 String hintingName(SkPaint::Hinting);
124 PassRefPtr<JSONObject> objectForSkPaint(const SkPaint&); 124 PassRefPtr<JSONObject> objectForSkPaint(const SkPaint&);
125 PassRefPtr<JSONArray> arrayForSkMatrix(const SkMatrix&); 125 PassRefPtr<JSONArray> arrayForSkMatrix(const SkMatrix&);
126 PassRefPtr<JSONArray> arrayForSkScalars(size_t n, const SkScalar scalars[]); 126 PassRefPtr<JSONArray> arrayForSkScalars(size_t n, const SkScalar scalars[]);
127 String regionOpName(SkRegion::Op); 127 String regionOpName(SkRegion::Op);
128 String saveFlagsToString(SkCanvas::SaveFlags); 128 String saveFlagsToString(SkCanvas::SaveFlags);
129 String textEncodingCanonicalName(SkPaint::TextEncoding); 129 String textEncodingCanonicalName(SkPaint::TextEncoding);
130 String stringForUTFText(const void* text, size_t length, SkPaint::TextEncodi ng); 130 String stringForUTFText(const void* text, size_t length, SkPaint::TextEncodi ng);
131 String stringForText(const void* text, size_t byteLength, const SkPaint&); 131 String stringForText(const void* text, size_t byteLength, const SkPaint&);
132 }; 132 };
133 133
134 } // namespace blink 134 } // namespace blink
135 135
136 #endif // LoggingCanvas_h 136 #endif // LoggingCanvas_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698