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

Unified Diff: include/core/SkColorShader.h

Issue 245963010: Move SkShader::fLocalMatrix into SkShader constructor. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: uncomment setLocalMatrix 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 side-by-side diff with in-line comments
Download patch
Index: include/core/SkColorShader.h
diff --git a/include/core/SkColorShader.h b/include/core/SkColorShader.h
index 56e5add4a31a446667ed5c121f92432de9f80657..0cad28a7cf8b87c47e74e6214326ae284d39ad90 100644
--- a/include/core/SkColorShader.h
+++ b/include/core/SkColorShader.h
@@ -22,13 +22,13 @@ public:
/** Create a ColorShader that will inherit its color from the Paint
at draw time.
*/
- SkColorShader();
+ SkColorShader(const SkMatrix* localMatrix = NULL);
scroggo 2014/04/23 19:01:28 FYI: I think Brian is removing this constructor.
/** Create a ColorShader that ignores the color in the paint, and uses the
specified color. Note: like all shaders, at draw time the paint's alpha
will be respected, and is applied to the specified color.
*/
- SkColorShader(SkColor c);
+ SkColorShader(SkColor c, const SkMatrix* localMatrix = NULL);
virtual bool isOpaque() const SK_OVERRIDE;
« no previous file with comments | « gm/xfermodes3.cpp ('k') | include/core/SkShader.h » ('j') | src/animator/SkDrawGradient.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698