Lines Matching refs:step
56 static void step_to_point(int step, int width, int height, XPointFixed *p)
59 p->x = (step - 64) << 16;
62 step -= width - 128;
63 if (step <= 0)
67 p->y = (step - 64) << 16;
68 step -= height - 128;
70 if (step <= 0)
73 p->x = (width + 64 - step) << 16;
75 step -= width - 128;
77 if (step <= 0)
81 p->y = (height + 64 - step) << 16;
82 step -= height - 128;
83 } while (step > 0);
95 unsigned step, max;
112 step = 0;
113 for (step = 0; step <= max; step++) {
116 step_to_point(step, out.width, out.height, &tri.p1);
117 step_to_point(step + out.width + 128,
120 step_to_point(step + out.height + 128 + 2*(out.width + 128),