Searched defs:SkColor4f (Results 1 - 2 of 2) sorted by relevance
/external/skia/include/core/ |
H A D | SkColor.h | 179 struct SkColor4f { struct 185 bool operator==(const SkColor4f& other) const { 188 bool operator!=(const SkColor4f& other) const { 195 static SkColor4f Pin(float r, float g, float b, float a); 196 /** Convert to SkColor4f, assuming SkColor is sRGB */ 197 static SkColor4f FromColor(SkColor); 198 static SkColor4f FromColor3f(SkColor3f, float a); 202 SkColor4f pin() const {
|
/external/skia/src/shaders/gradients/ |
H A D | Sk4fGradientBase.cpp | 14 Sk4f pack_color(const SkColor4f& c4f, bool premul, const Sk4f& component_scale) { 33 void iterate(std::function<void(const SkColor4f&, const SkColor4f&, argument 66 void iterateImplicitPos(std::function<void(const SkColor4f&, const SkColor4f&, argument 107 iter.iterate([&] (const SkColor4f& c0, const SkColor4f& c1, SkScalar t0, SkScalar t1) { 214 iter.iterate([&] (const SkColor4f& c0, const SkColor4f& c1, SkScalar t0, SkScalar t1) {
|
Completed in 106 milliseconds