Lines Matching refs:width

41 void Path::Stroke(Shape *dest, bool doClose, double width, JoinType join,
73 DoStroke(lastM, lastP - lastM, dest, true, width, join, butt, miter, true);
75 DoStroke(lastM, lastP - lastM, dest, doClose, width, join, butt, miter, true);
83 DoButt(dest, width, butt, pos, dir, last[RIGHT], last[LEFT]);
86 DoButt(dest, width, butt, pos, dir, end[LEFT], end[RIGHT]);
94 void Path::DoStroke(int off, int N, Shape *dest, bool doClose, double width, JoinType join,
149 DoButt(dest, width, butt, curP, dir, last[RIGHT], last[LEFT]);
152 DoButt(dest, width, butt, curP, dir, end[LEFT], end[RIGHT]);
170 DoJoin(dest, width, join, curP, prevD, nextD, miter, prevLe, nextLe, start, last);
173 DoButt(dest, width, butt, curP, nextD, last[RIGHT], last[LEFT]);
203 DoJoin(dest, width, join, curP, prevD, nextD, miter, prevLe, nextLe, nSt, nEn);
223 DoJoin(dest, width, join, curP, prevD, nextD, miter, prevLe, nextLe, nSt, nEn);
235 DoButt (dest, width, butt, curP, prevD, end[LEFT], end[RIGHT]);
242 void Path::DoButt(Shape *dest, double width, ButtType butt, Geom::Point pos, Geom::Point dir,
251 x = pos + width * dir + width * nor;
253 x = pos + width * dir - width * nor;
255 x = pos + width * nor;
257 x = pos - width * nor;
265 leftNo = dest->AddPoint (pos + width * nor);
266 rightNo = dest->AddPoint (pos - width * nor);
267 int mid = dest->AddPoint (pos + width * dir);
273 const Geom::Point sx = pos + width * nor;
274 const Geom::Point ex = pos - width * nor;
278 RecRound (dest, rightNo, leftNo, ex, sx, -nor, nor, pos, width);
282 leftNo = dest->AddPoint (pos + width * nor);
283 rightNo = dest->AddPoint (pos - width * nor);
289 void Path::DoJoin (Shape *dest, double width, JoinType join, Geom::Point pos, Geom::Point prev,
302 stNo[LEFT] = enNo[LEFT] = dest->AddPoint(pos + width * pnor);
303 stNo[RIGHT] = enNo[RIGHT] = dest->AddPoint(pos - width * pnor);
306 const Geom::Point sx = pos + width * pnor;
307 const Geom::Point ex = pos - width * pnor;
311 RecRound (dest, enNo[LEFT], stNo[LEFT], ex, sx, -pnor, pnor, pos, width);
323 stNo[LEFT] = dest->AddPoint(pos + width * pnor);
324 enNo[LEFT] = dest->AddPoint(pos + width * nnor);
330 stNo[RIGHT] = dest->AddPoint(pos - width * pnor);
331 enNo[RIGHT] = dest->AddPoint(pos - width * nnor);
335 double l = width / c2;
336 double emiter = width * c2;
350 Geom::Point sx = pos - width * pnor;
352 Geom::Point ex = pos - width * nnor;
356 sx, ex, -pnor, -nnor, pos, width);
359 stNo[RIGHT] = dest->AddPoint(pos - width * pnor);
360 enNo[RIGHT] = dest->AddPoint(pos - width * nnor);
367 stNo[RIGHT] = dest->AddPoint(pos - width * pnor);
368 enNo[RIGHT] = dest->AddPoint(pos - width * nnor);
374 stNo[LEFT] = dest->AddPoint(pos + width * pnor);
375 enNo[LEFT] = dest->AddPoint(pos + width * nnor);
379 double l = width / c2;
380 double emiter = width * c2;
396 Geom::Point sx = pos + width * pnor;
398 Geom::Point ex = pos + width * nnor;
402 ex, sx, nnor, pnor, pos, width);
405 stNo[LEFT] = dest->AddPoint(pos + width * pnor);
406 enNo[LEFT] = dest->AddPoint(pos + width * nnor);
413 Path::DoLeftJoin (Shape * dest, double width, JoinType join, Geom::Point pos,
426 leftEnNo = leftStNo = dest->AddPoint (pos + width * pnor);
431 leftStNo = dest->AddPoint (pos + width * pnor);
432 leftEnNo = dest->AddPoint (pos - width * pnor);
448 double l=width/c2;
457 leftStNo = dest->AddPoint (pos + width * pnor);
458 leftEnNo = dest->AddPoint (pos + width * nnor);
479 leftStNo = dest->AddPoint (pos + width * pnor);
480 leftEnNo = dest->AddPoint (pos + width * nnor);
484 double l = width / c2;
485 double emiter = width * c2;
534 const Geom::Point sx = pos + width * pnor;
536 const Geom::Point ex = pos + width * nnor;
540 sx, ex, pnor, nnor ,pos, width);
545 leftStNo = dest->AddPoint (pos + width * pnor);
546 leftEnNo = dest->AddPoint (pos + width * nnor);
557 Path::DoRightJoin (Shape * dest, double width, JoinType join, Geom::Point pos,
570 rightEnNo = rightStNo = dest->AddPoint (pos - width*pnor);
575 rightEnNo = dest->AddPoint (pos + width*pnor);
576 rightStNo = dest->AddPoint (pos - width*pnor);
590 rightStNo = dest->AddPoint (pos - width*pnor);
591 rightEnNo = dest->AddPoint (pos - width*nnor);
595 double l = width / c2;
596 double emiter = width * c2;
645 const Geom::Point sx = pos - width * pnor;
647 const Geom::Point ex = pos - width * nnor;
651 sx, ex, -pnor, -nnor ,pos, width);
655 rightStNo = dest->AddPoint (pos - width * pnor);
656 rightEnNo = dest->AddPoint (pos - width * nnor);
671 double l=width/c2;
680 rightStNo = dest->AddPoint (pos - width*pnor);
681 rightEnNo = dest->AddPoint (pos - width*nnor);
708 Geom::Point &origine, float width) // center and radius of round
712 if (width < 0.5 || dot(iS - iE, iS - iE)/width < 2.0) {
731 lod = 0.02 + 10 / (10 + width); // limit detail to about 2 degrees (180 * 0.02/Pi degrees)
738 // cur*=width;