Lines Matching defs:dir
79 Geom::Point dir;
80 dir[0] = 1;
81 dir[1] = 0;
83 DoButt(dest, width, butt, pos, dir, last[RIGHT], last[LEFT]);
85 dir = -dir;
86 DoButt(dest, width, butt, pos, dir, end[LEFT], end[RIGHT]);
146 Geom::Point dir;
147 dir[0] = 1;
148 dir[1] = 0;
149 DoButt(dest, width, butt, curP, dir, last[RIGHT], last[LEFT]);
151 dir = -dir;
152 DoButt(dest, width, butt, curP, dir, end[LEFT], end[RIGHT]);
242 void Path::DoButt(Shape *dest, double width, ButtType butt, Geom::Point pos, Geom::Point dir,
246 nor = dir.ccw();
251 x = pos + width * dir + width * nor;
253 x = pos + width * dir - width * nor;
267 int mid = dest->AddPoint (pos + width * dir);