Lines Matching refs:DIR
45 #define DIR 2 /*direction of run */ macro
173 edgepts[epindex].flags[DIR] = epdir; in edgesteps_to_edgepts()
198 edgepts[epindex].flags[DIR] = epdir; in edgesteps_to_edgepts()
229 while (((edgept->flags[DIR] - edgept->prev->flags[DIR] + 1) & 7) < 3 in fix2()
231 (edgept->prev->flags[DIR] - edgept->next->flags[DIR]) & 7) != 2 in fix2()
240 dir1 = edgept->flags[DIR]; /*first direction */ in fix2()
244 dir2 = edgept->flags[DIR]; /*2nd direction */ in fix2()
248 while (edgept->prev->flags[DIR] == edgept->next->flags[DIR]) { in fix2()
250 if (edgept->flags[DIR] == dir1) in fix2()
260 && linestart->prev->flags[DIR] == dir2 in fix2()
268 if (((edgept->next->flags[DIR] - edgept->flags[DIR] + 1) & 7) >= 3 in fix2()
269 || (edgept->flags[DIR] == dir1 && sum1 >= sum2) in fix2()
271 || (edgept->flags[DIR] == dir2 && sum2 >= sum1)) in fix2()
284 (edgept->flags[DIR] != 2) && (edgept->flags[DIR] != 6)) || in fix2()
286 ((edgept->flags[DIR] == 2) || (edgept->flags[DIR] == 6)))) { in fix2()
302 …= 0 && edgept->prev->flags[DIR] == edgept->next->flags[DIR] && edgept->prev->prev->flags[DIR] == e… in fix2()
303 && ((edgept->prev->flags[DIR] - edgept->flags[DIR] + 1) & 7) < 3) { in fix2()
451 linestart->pos.x, linestart->pos.y, linestart->flags[DIR], in poly2()