Searched defs:SkColor4f (Results 1 - 4 of 4) sorted by relevance

/external/skia/include/core/
H A DSkColor.h162 struct SK_API SkColor4f { struct
168 bool operator==(const SkColor4f& other) const {
171 bool operator!=(const SkColor4f& other) const {
178 static SkColor4f Pin(float r, float g, float b, float a);
179 /** Convert to SkColor4f, assuming SkColor is sRGB */
180 static SkColor4f FromColor(SkColor);
184 SkColor4f pin() const {
/external/skia/src/shaders/gradients/
H A DSk4fGradientBase.cpp14 Sk4f pack_color(const SkColor4f& c4f, bool premul, const Sk4f& component_scale) {
33 void iterate(std::function<void(const SkColor4f&, const SkColor4f&, argument
61 void iterateImplicitPos(std::function<void(const SkColor4f&, const SkColor4f&, argument
102 iter.iterate([&] (const SkColor4f& c0, const SkColor4f& c1, SkScalar t0, SkScalar t1) {
209 iter.iterate([&] (const SkColor4f& c0, const SkColor4f& c1, SkScalar t0, SkScalar t1) {
/external/skqp/include/core/
H A DSkColor.h162 struct SK_API SkColor4f { struct
168 bool operator==(const SkColor4f& other) const {
171 bool operator!=(const SkColor4f& other) const {
178 static SkColor4f Pin(float r, float g, float b, float a);
179 /** Convert to SkColor4f, assuming SkColor is sRGB */
180 static SkColor4f FromColor(SkColor);
184 SkColor4f pin() const {
/external/skqp/src/shaders/gradients/
H A DSk4fGradientBase.cpp14 Sk4f pack_color(const SkColor4f& c4f, bool premul, const Sk4f& component_scale) {
33 void iterate(std::function<void(const SkColor4f&, const SkColor4f&, argument
61 void iterateImplicitPos(std::function<void(const SkColor4f&, const SkColor4f&, argument
102 iter.iterate([&] (const SkColor4f& c0, const SkColor4f& c1, SkScalar t0, SkScalar t1) {
209 iter.iterate([&] (const SkColor4f& c0, const SkColor4f& c1, SkScalar t0, SkScalar t1) {

Completed in 136 milliseconds