Lines Matching defs:steps
281 int steps;
295 steps = 32;
297 bar_width = bnd.Width() / steps;
302 for (int i = 0; i < steps; i++) {
303 uint8 c = i * 255 / (steps - 1);
305 right = (i != steps - 1) ? left + bar_width - 1 : bnd.right;
310 steps = 256;
312 bar_width = bnd.Width() / steps;
317 for (int i = 0; i < steps; i++) {
318 uint8 c = 255 - (i * 255 / (steps - 1));
320 right = (i != steps - 1) ? left + bar_width - 1 : bnd.right;