Searched refs:fColor4f (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/include/core/ |
D | SkPaint.h | 219 SkColor getColor() const { return fColor4f.toSkColor(); } in getColor() 226 SkColor4f getColor4f() const { return fColor4f; } in getColor4f() 255 float getAlphaf() const { return fColor4f.fA; } in getAlphaf() 702 SkColor4f fColor4f; variable
|
/third_party/skia/src/core/ |
D | SkPaint.cpp | 46 : fColor4f{0, 0, 0, 1} // opaque black in SkPaint() 81 && EQUAL(fColor4f) in operator ==() 127 fColor4f = SkColor4f::FromColor(color); in setColor() 133 fColor4f = {color.fR, color.fG, color.fB, SkTPin(color.fA, 0.0f, 1.0f)}; in setColor() 134 steps.apply(fColor4f.vec()); in setColor() 138 fColor4f.fA = SkTPin(a, 0.0f, 1.0f); in setAlphaf()
|
/third_party/skia/bench/ |
D | VertexColorSpaceBench.cpp | 148 , fColor4f(color4f) { in Op() 223 v[i + 0].fColor = fColor4f; in onPrepareDraws() 225 v[i + 1].fColor = fColor4f; in onPrepareDraws() 234 Sk4h halfColor = SkFloatToHalf_finite_ftz(Sk4f::Load(&fColor4f)); in onPrepareDraws() 277 SkColor4f fColor4f; member in __anon98cdc8cf0111::Op
|