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

Unified Diff: include/core/SkColor.h

Issue 2264643002: Added SkColor4f::FromColor3f(SkColor3f, float a) (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Removed header include from .cpp file Created 4 years, 4 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
« no previous file with comments | « no previous file | src/core/SkColor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkColor.h
diff --git a/include/core/SkColor.h b/include/core/SkColor.h
index e473db486ae50ee6a9aee3a2bc1794d023cf1939..8f2776da61b16075e0d7c33e7062a7f2c5f618c1 100644
--- a/include/core/SkColor.h
+++ b/include/core/SkColor.h
@@ -9,6 +9,7 @@
#define SkColor_DEFINED
#include "SkScalar.h"
+#include "SkPoint3.h"
#include "SkTypes.h"
/** \file SkColor.h
@@ -183,6 +184,7 @@ struct SkColor4f {
static SkColor4f Pin(float r, float g, float b, float a);
static SkColor4f FromColor(SkColor);
+ static SkColor4f FromColor3f(SkColor3f, float a);
SkColor toSkColor() const;
« no previous file with comments | « no previous file | src/core/SkColor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698