Searched refs:kShadingSteps (Results 1 – 1 of 1) sorted by relevance
34 constexpr int kShadingSteps = 256; variable53 std::array<FX_ARGB, kShadingSteps> GetShadingSteps( in GetShadingSteps()62 std::array<FX_ARGB, kShadingSteps> shading_steps; in GetShadingSteps()65 for (int i = 0; i < kShadingSteps; ++i) { in GetShadingSteps()66 float input = diff * i / kShadingSteps + t_min; in GetShadingSteps()123 std::array<FX_ARGB, kShadingSteps> shading_steps = in DrawAxialShading()137 int index = (int32_t)(scale * (kShadingSteps - 1)); in DrawAxialShading()143 } else if (index >= kShadingSteps) { in DrawAxialShading()147 index = kShadingSteps - 1; in DrawAxialShading()187 std::array<FX_ARGB, kShadingSteps> shading_steps = in DrawRadialShading()[all …]