Lines Matching refs:x
106 line.b = (c.p0.x - c.p3.x); in Impl_calcFatLine()
116 line.c = -(line.a*c.p0.x + line.b*c.p0.y); in Impl_calcFatLine()
123 const double dP2( calcLineDistance(line.a, line.b, line.c, c.p1.x, c.p1.y ) ); in Impl_calcFatLine()
124 const double dP3( calcLineDistance(line.a, line.b, line.c, c.p2.x, c.p2.y ) ); in Impl_calcFatLine()
145 leftTop.x = ::std::min( c1.p0.x, ::std::min( c1.p1.x, ::std::min( c1.p2.x, c1.p3.x ) ) ); in Impl_calcBounds()
147 rightBottom.x = ::std::max( c1.p0.x, ::std::max( c1.p1.x, ::std::max( c1.p2.x, c1.p3.x ) ) ); in Impl_calcBounds()
163 if( ::std::min(rb1.x, rb2.x) < ::std::max(lt1.x, lt2.x) || in Impl_doBBoxIntersect()
233 const double r_x( p1.x - p0.x ); in Impl_calcSafeParams()
245 currLowerT = ::std::min(currLowerT, ::std::min(p0.x, p1.x)); in Impl_calcSafeParams()
246 currHigherT = ::std::max(currHigherT, ::std::max(p0.x, p1.x)); in Impl_calcSafeParams()
255 const double currTLow( (lowerYBound - p0.y) * r_x / r_y + p0.x ); in Impl_calcSafeParams()
258 const double currTHigh( (upperYBound - p0.y) * r_x / r_y + p0.x ); in Impl_calcSafeParams()
315 << poly[0].x << "," in Impl_calcSafeParams_clip()
316 << poly[1].x << "," in Impl_calcSafeParams_clip()
317 << poly[2].x << "," in Impl_calcSafeParams_clip()
318 << poly[3].x << ",t),bez(" in Impl_calcSafeParams_clip()
333 cout << poly[k].x << " " << poly[k].y << endl; in Impl_calcSafeParams_clip()
335 cout << poly[0].x << " " << poly[0].y << endl; in Impl_calcSafeParams_clip()
340 cout << convHull[k].x << " " << convHull[k].y << endl; in Impl_calcSafeParams_clip()
342 cout << convHull[0].x << " " << convHull[0].y << endl; in Impl_calcSafeParams_clip()
373 part1.p0.x = part1.p1.x = part1.p2.x = part1.p3.x = input.p0.x; in Impl_deCasteljauAt()
381 part2.p0.x = part2.p1.x = part2.p2.x = part2.p3.x = input.p3.x; in Impl_deCasteljauAt()
386 part1.p0.x = input.p0.x; part1.p0.y = input.p0.y; in Impl_deCasteljauAt()
387 …part1.p1.x = (1.0 - t)*part1.p0.x + t*input.p1.x; part1.p1.y = (1.0 - t)*part1.p0.y + t*input.p… in Impl_deCasteljauAt()
388 …const double Hx ( (1.0 - t)*input.p1.x + t*input.p2.x ), Hy ( (1.0 - t)*input.p1.y + t*input.p2.y… in Impl_deCasteljauAt()
389 part1.p2.x = (1.0 - t)*part1.p1.x + t*Hx; part1.p2.y = (1.0 - t)*part1.p1.y + t*Hy; in Impl_deCasteljauAt()
390 part2.p3.x = input.p3.x; part2.p3.y = input.p3.y; in Impl_deCasteljauAt()
391 …part2.p2.x = (1.0 - t)*input.p2.x + t*input.p3.x; part2.p2.y = (1.0 - t)*input.p2.y + t*input.… in Impl_deCasteljauAt()
392 part2.p1.x = (1.0 - t)*Hx + t*part2.p2.x; part2.p1.y = (1.0 - t)*Hy + t*part2.p2.y; in Impl_deCasteljauAt()
393 …part2.p0.x = (1.0 - t)*part1.p2.x + t*part2.p1.x; part2.p0.y = (1.0 - t)*part1.p2.y + t*part2.… in Impl_deCasteljauAt()
394 part1.p3.x = part2.p0.x; part1.p3.y = part2.p0.y; in Impl_deCasteljauAt()
421 << c1.p0.x+offset << "," in printCurvesWithSafeRange()
422 << c1.p1.x+offset << "," in printCurvesWithSafeRange()
423 << c1.p2.x+offset << "," in printCurvesWithSafeRange()
424 << c1.p3.x+offset << ",t),bez(" in printCurvesWithSafeRange()
429 << c2.p0.x+offset << "," in printCurvesWithSafeRange()
430 << c2.p1.x+offset << "," in printCurvesWithSafeRange()
431 << c2.p2.x+offset << "," in printCurvesWithSafeRange()
432 << c2.p3.x+offset << ",t),bez(" in printCurvesWithSafeRange()
439 << c1_part1.p0.x+offset << "," in printCurvesWithSafeRange()
440 << c1_part1.p1.x+offset << "," in printCurvesWithSafeRange()
441 << c1_part1.p2.x+offset << "," in printCurvesWithSafeRange()
442 << c1_part1.p3.x+offset << ",t),bez(" in printCurvesWithSafeRange()
450 << c2_part.p0.x+offset << "," in printCurvesWithSafeRange()
451 << c2_part.p1.x+offset << "," in printCurvesWithSafeRange()
452 << c2_part.p2.x+offset << "," in printCurvesWithSafeRange()
453 << c2_part.p3.x+offset << ",t),bez(" in printCurvesWithSafeRange()
494 << c1.p0.x+offset << "," in printResultWithFinalCurves()
495 << c1.p1.x+offset << "," in printResultWithFinalCurves()
496 << c1.p2.x+offset << "," in printResultWithFinalCurves()
497 << c1.p3.x+offset << ",t),bez(" in printResultWithFinalCurves()
502 << c1_part.p0.x+offset << "," in printResultWithFinalCurves()
503 << c1_part.p1.x+offset << "," in printResultWithFinalCurves()
504 << c1_part.p2.x+offset << "," in printResultWithFinalCurves()
505 << c1_part.p3.x+offset << ",t),bez(" in printResultWithFinalCurves()
511 << c1.p0.x+offset << "," in printResultWithFinalCurves()
512 << c1.p1.x+offset << "," in printResultWithFinalCurves()
513 << c1.p2.x+offset << "," in printResultWithFinalCurves()
514 << c1.p3.x+offset << "," in printResultWithFinalCurves()
523 << c1.p0.x+offset << "," in printResultWithFinalCurves()
524 << c1.p1.x+offset << "," in printResultWithFinalCurves()
525 << c1.p2.x+offset << "," in printResultWithFinalCurves()
526 << c1.p3.x+offset << "," in printResultWithFinalCurves()
536 << c2.p0.x+offset << "," in printResultWithFinalCurves()
537 << c2.p1.x+offset << "," in printResultWithFinalCurves()
538 << c2.p2.x+offset << "," in printResultWithFinalCurves()
539 << c2.p3.x+offset << ",t),bez(" in printResultWithFinalCurves()
545 << c2_part.p0.x+offset << "," in printResultWithFinalCurves()
546 << c2_part.p1.x+offset << "," in printResultWithFinalCurves()
547 << c2_part.p2.x+offset << "," in printResultWithFinalCurves()
548 << c2_part.p3.x+offset << ",t),bez(" in printResultWithFinalCurves()
608 c1_orig.p0.x, in Impl_calcClipRange()
613 c1_orig.p1.x, in Impl_calcClipRange()
618 c1_orig.p2.x, in Impl_calcClipRange()
623 c1_orig.p3.x, in Impl_calcClipRange()
704 fMatrix[0] = c.p1.x - c.p0.x; in Impl_calcFocus()
705 fMatrix[1] = c.p2.x - c.p3.x; in Impl_calcFocus()
709 fMatrix[5] = (c.p3.x - c.p0.x)/3.0; in Impl_calcFocus()
759 res.p0.x = c.p0.x - 3*fRes[0]*(c.p1.y - c.p0.y); in Impl_calcFocus()
760 res.p1.x = c.p1.x - fRes[1]*(c.p1.y - c.p0.y) - 2*fRes[0]*(c.p2.y - c.p1.y); in Impl_calcFocus()
761 res.p2.x = c.p2.x - 2*fRes[1]*(c.p2.y - c.p1.y) - fRes[0]*(c.p3.y - c.p2.y); in Impl_calcFocus()
762 res.p3.x = c.p3.x - 3*fRes[1]*(c.p3.y - c.p2.y); in Impl_calcFocus()
764 res.p0.y = c.p0.y + 3*fRes[0]*(c.p1.x - c.p0.x); in Impl_calcFocus()
765 res.p1.y = c.p1.y + 2*fRes[0]*(c.p2.x - c.p1.x) + fRes[1]*(c.p1.x - c.p0.x); in Impl_calcFocus()
766 res.p2.y = c.p2.y + fRes[0]*(c.p3.x - c.p2.x) + 2*fRes[1]*(c.p2.x - c.p1.x); in Impl_calcFocus()
767 res.p3.y = c.p3.y + 3*fRes[1]*(c.p3.x - c.p2.x); in Impl_calcFocus()
864 ( (curve[k+1].x - curve[k].x)*(curve[l].x - focus[j].x) + // dot product here in Impl_calcSafeParams_focus()
893 cout << controlPolygon[count].x << " " << controlPolygon[count].y << endl; in Impl_calcSafeParams_focus()
895 cout << controlPolygon[0].x << " " << controlPolygon[0].y << endl; in Impl_calcSafeParams_focus()
900 cout << convHull[count].x << " " << convHull[count].y << endl; in Impl_calcSafeParams_focus()
902 cout << convHull[0].x << " " << convHull[0].y << endl; in Impl_calcSafeParams_focus()
1377 aTestPoly[0].x += convHull_xOffset; in main()
1378 aTestPoly[1].x += convHull_xOffset; in main()
1379 aTestPoly[2].x += convHull_xOffset; in main()
1380 aTestPoly[3].x += convHull_xOffset; in main()
1383 << aTestPoly[0].x << "," in main()
1384 << aTestPoly[1].x << "," in main()
1385 << aTestPoly[2].x << "," in main()
1386 << aTestPoly[3].x << ",t),bez(" in main()
1405 aTestPoly[0].x += convHull_xOffset; in main()
1406 aTestPoly[1].x += convHull_xOffset; in main()
1407 aTestPoly[2].x += convHull_xOffset; in main()
1408 aTestPoly[3].x += convHull_xOffset; in main()
1414 cout << convHull[k].x << " " << convHull[k].y << endl; in main()
1416 cout << convHull[0].x << " " << convHull[0].y << endl; in main()
1434 c.p0.x += multiSubdivide_xOffset; in main()
1435 c.p1.x += multiSubdivide_xOffset; in main()
1436 c.p2.x += multiSubdivide_xOffset; in main()
1437 c.p3.x += multiSubdivide_xOffset; in main()
1458 << c1_part1.p0.x << "," in main()
1459 << c1_part1.p1.x << "," in main()
1460 << c1_part1.p2.x << "," in main()
1461 << c1_part1.p3.x << ",t), bez(" in main()
1467 << c1_part2.p0.x << "," in main()
1468 << c1_part2.p1.x << "," in main()
1469 << c1_part2.p2.x << "," in main()
1470 << c1_part2.p3.x << ",t), bez(" in main()
1476 << c1_part3.p0.x << "," in main()
1477 << c1_part3.p1.x << "," in main()
1478 << c1_part3.p2.x << "," in main()
1479 << c1_part3.p3.x << ",t), bez(" in main()
1503 c.p0.x += fatLine_xOffset; in main()
1504 c.p1.x += fatLine_xOffset; in main()
1505 c.p2.x += fatLine_xOffset; in main()
1506 c.p3.x += fatLine_xOffset; in main()
1513 << c.p0.x << "," in main()
1514 << c.p1.x << "," in main()
1515 << c.p2.x << "," in main()
1516 << c.p3.x << ",t), bez(" in main()
1557 c.p0.x += focus_xOffset; in main()
1558 c.p1.x += focus_xOffset; in main()
1559 c.p2.x += focus_xOffset; in main()
1560 c.p3.x += focus_xOffset; in main()
1567 << c.p0.x << "," in main()
1568 << c.p1.x << "," in main()
1569 << c.p2.x << "," in main()
1570 << c.p3.x << ",t), bez(" in main()
1575 << focus.p0.x << "," in main()
1576 << focus.p1.x << "," in main()
1577 << focus.p2.x << "," in main()
1578 << focus.p3.x << ",t), bez(" in main()
1601 c.p0.x += safeParamsBase_xOffset; in main()
1602 c.p1.x += safeParamsBase_xOffset; in main()
1603 c.p2.x += safeParamsBase_xOffset; in main()
1604 c.p3.x += safeParamsBase_xOffset; in main()
1619 << poly[0].x << "," in main()
1620 << poly[1].x << "," in main()
1621 << poly[2].x << "," in main()
1622 << poly[3].x << ",t),bez(" in main()
1650 c.p0.x += safeParamsBase_xOffset; in main()
1651 c.p1.x += safeParamsBase_xOffset; in main()
1652 c.p2.x += safeParamsBase_xOffset; in main()
1653 c.p3.x += safeParamsBase_xOffset; in main()
1670 cout << poly[k].x << " " << poly[k].y << endl; in main()
1672 cout << poly[0].x << " " << poly[0].y << endl; in main()
1677 cout << convHull[k].x << " " << convHull[k].y << endl; in main()
1679 cout << convHull[0].x << " " << convHull[0].y << endl; in main()
1700 c1.p0.x += safeParams_xOffset; in main()
1701 c1.p1.x += safeParams_xOffset; in main()
1702 c1.p2.x += safeParams_xOffset; in main()
1703 c1.p3.x += safeParams_xOffset; in main()
1704 c2.p0.x += safeParams_xOffset; in main()
1705 c2.p1.x += safeParams_xOffset; in main()
1706 c2.p2.x += safeParams_xOffset; in main()
1707 c2.p3.x += safeParams_xOffset; in main()
1726 << c1.p0.x << "," in main()
1727 << c1.p1.x << "," in main()
1728 << c1.p2.x << "," in main()
1729 << c1.p3.x << ",t),bez(" in main()
1734 << c2.p0.x << "," in main()
1735 << c2.p1.x << "," in main()
1736 << c2.p2.x << "," in main()
1737 << c2.p3.x << ",t),bez(" in main()
1742 << c1_part1.p0.x << "," in main()
1743 << c1_part1.p1.x << "," in main()
1744 << c1_part1.p2.x << "," in main()
1745 << c1_part1.p3.x << ",t),bez(" in main()
1769 c1.p0.x += safeParams2_xOffset; in main()
1770 c1.p1.x += safeParams2_xOffset; in main()
1771 c1.p2.x += safeParams2_xOffset; in main()
1772 c1.p3.x += safeParams2_xOffset; in main()
1773 c2.p0.x += safeParams2_xOffset; in main()
1774 c2.p1.x += safeParams2_xOffset; in main()
1775 c2.p2.x += safeParams2_xOffset; in main()
1776 c2.p3.x += safeParams2_xOffset; in main()
1798 c1.p0.x += safeParamsFocus_xOffset; in main()
1799 c1.p1.x += safeParamsFocus_xOffset; in main()
1800 c1.p2.x += safeParamsFocus_xOffset; in main()
1801 c1.p3.x += safeParamsFocus_xOffset; in main()
1802 c2.p0.x += safeParamsFocus_xOffset; in main()
1803 c2.p1.x += safeParamsFocus_xOffset; in main()
1804 c2.p2.x += safeParamsFocus_xOffset; in main()
1805 c2.p3.x += safeParamsFocus_xOffset; in main()
1858 << c1.p0.x << "," in main()
1859 << c1.p1.x << "," in main()
1860 << c1.p2.x << "," in main()
1861 << c1.p3.x << ",t),bez(" in main()
1868 << c2.p0.x << "," in main()
1869 << c2.p1.x << "," in main()
1870 << c2.p2.x << "," in main()
1871 << c2.p3.x << ",t),bez(" in main()
1877 << focus.p0.x << "," in main()
1878 << focus.p1.x << "," in main()
1879 << focus.p2.x << "," in main()
1880 << focus.p3.x << ",t),bez(" in main()
1887 << c2.p0.x << "," in main()
1888 << c2.p1.x << "," in main()
1889 << c2.p2.x << "," in main()
1890 << c2.p3.x << ",t),bez(" in main()
1899 << c1_part1.p0.x << "," in main()
1900 << c1_part1.p1.x << "," in main()
1901 << c1_part1.p2.x << "," in main()
1902 << c1_part1.p3.x << ",t),bez(" in main()
1926 c1.p0.x += safeParams3_xOffset; in main()
1927 c1.p1.x += safeParams3_xOffset; in main()
1928 c1.p2.x += safeParams3_xOffset; in main()
1929 c1.p3.x += safeParams3_xOffset; in main()
1930 c2.p0.x += safeParams3_xOffset; in main()
1931 c2.p1.x += safeParams3_xOffset; in main()
1932 c2.p2.x += safeParams3_xOffset; in main()
1933 c2.p3.x += safeParams3_xOffset; in main()
1966 c1.p0.x += bezierClip_xOffset; in main()
1967 c1.p1.x += bezierClip_xOffset; in main()
1968 c1.p2.x += bezierClip_xOffset; in main()
1969 c1.p3.x += bezierClip_xOffset; in main()
1970 c2.p0.x += bezierClip_xOffset; in main()
1971 c2.p1.x += bezierClip_xOffset; in main()
1972 c2.p2.x += bezierClip_xOffset; in main()
1973 c2.p3.x += bezierClip_xOffset; in main()
1976 << c1.p0.x << "," in main()
1977 << c1.p1.x << "," in main()
1978 << c1.p2.x << "," in main()
1979 << c1.p3.x << ",t),bez(" in main()
1984 << c2.p0.x << "," in main()
1985 << c2.p1.x << "," in main()
1986 << c2.p2.x << "," in main()
1987 << c2.p3.x << ",t),bez(" in main()
1992 << c1.p0.x << "," in main()
1993 << c1.p1.x << "," in main()
1994 << c1.p2.x << "," in main()
1995 << c1.p3.x in main()
2002 << c2.p0.x << "," in main()
2003 << c2.p1.x << "," in main()
2004 << c2.p2.x << "," in main()
2005 << c2.p3.x in main()
2026 c1.p0.x += bezierClip_xOffset; in main()
2027 c1.p1.x += bezierClip_xOffset; in main()
2028 c1.p2.x += bezierClip_xOffset; in main()
2029 c1.p3.x += bezierClip_xOffset; in main()
2030 c2.p0.x += bezierClip_xOffset; in main()
2031 c2.p1.x += bezierClip_xOffset; in main()
2032 c2.p2.x += bezierClip_xOffset; in main()
2033 c2.p3.x += bezierClip_xOffset; in main()