Searched refs:shaderColors (Results 1 – 2 of 2) sorted by relevance
40 SkColor shaderColors[2]; in make_transparency() local41 shaderColors[0] = SK_AlphaTRANSPARENT; in make_transparency()42 shaderColors[1] = kColors[i]; in make_transparency()44 … p.setShader(SkGradientShader::MakeLinear(pts, shaderColors, nullptr, 2, SkTileMode::kClamp)); in make_transparency()