Searched refs:SHADING_STEPS (Results 1 – 1 of 1) sorted by relevance
64 #define SHADING_STEPS 256 macro141 uint32_t rgb_array[SHADING_STEPS]; in DrawAxialShading()142 for (int i = 0; i < SHADING_STEPS; i++) { in DrawAxialShading()143 FX_FLOAT input = (t_max - t_min) * i / SHADING_STEPS + t_min; in DrawAxialShading()167 int index = (int32_t)(scale * (SHADING_STEPS - 1)); in DrawAxialShading()173 } else if (index >= SHADING_STEPS) { in DrawAxialShading()177 index = SHADING_STEPS - 1; in DrawAxialShading()222 uint32_t rgb_array[SHADING_STEPS]; in DrawRadialShading()223 for (int i = 0; i < SHADING_STEPS; i++) { in DrawRadialShading()224 FX_FLOAT input = (t_max - t_min) * i / SHADING_STEPS + t_min; in DrawRadialShading()[all …]