Lines Matching refs:p0
105 line.a = -(c.p0.y - c.p3.y); in Impl_calcFatLine()
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()
145 leftTop.x = ::std::min( c1.p0.x, ::std::min( c1.p1.x, ::std::min( c1.p2.x, c1.p3.x ) ) ); in Impl_calcBounds()
146 leftTop.y = ::std::min( c1.p0.y, ::std::min( c1.p1.y, ::std::min( c1.p2.y, c1.p3.y ) ) ); 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()
148 rightBottom.y = ::std::max( c1.p0.y, ::std::max( c1.p1.y, ::std::max( c1.p2.y, c1.p3.y ) ) ); in Impl_calcBounds()
200 Point2D p0; in Impl_calcSafeParams() local
213 p0 = convHull[i]; in Impl_calcSafeParams()
218 p0 = convHull[i]; in Impl_calcSafeParams()
228 if( (tolLessEqual(p0.y, upperYBound) || tolLessEqual(p1.y, upperYBound)) && in Impl_calcSafeParams()
229 (tolGreaterEqual(p0.y, lowerYBound) || tolGreaterEqual(p1.y, lowerYBound)) ) in Impl_calcSafeParams()
233 const double r_x( p1.x - p0.x ); in Impl_calcSafeParams()
234 const double r_y( p1.y - p0.y ); in Impl_calcSafeParams()
241 if( tolEqual(p0.y, lowerYBound) || in Impl_calcSafeParams()
242 tolEqual(p0.y, upperYBound) ) 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()
373 part1.p0.x = part1.p1.x = part1.p2.x = part1.p3.x = input.p0.x; in Impl_deCasteljauAt()
374 part1.p0.y = part1.p1.y = part1.p2.y = part1.p3.y = input.p0.y; in Impl_deCasteljauAt()
381 part2.p0.x = part2.p1.x = part2.p2.x = part2.p3.x = input.p3.x; in Impl_deCasteljauAt()
382 part2.p0.y = part2.p1.y = part2.p2.y = part2.p3.y = input.p3.y; 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()
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()
425 << c1.p0.y << "," in printCurvesWithSafeRange()
429 << c2.p0.x+offset << "," in printCurvesWithSafeRange()
433 << c2.p0.y << "," in printCurvesWithSafeRange()
439 << c1_part1.p0.x+offset << "," in printCurvesWithSafeRange()
443 << c1_part1.p0.y << "," in printCurvesWithSafeRange()
450 << c2_part.p0.x+offset << "," in printCurvesWithSafeRange()
454 << c2_part.p0.y << "," in printCurvesWithSafeRange()
494 << c1.p0.x+offset << "," in printResultWithFinalCurves()
498 << c1.p0.y << "," in printResultWithFinalCurves()
502 << c1_part.p0.x+offset << "," in printResultWithFinalCurves()
506 << c1_part.p0.y << "," in printResultWithFinalCurves()
511 << c1.p0.x+offset << "," in printResultWithFinalCurves()
517 << c1.p0.y << "," in printResultWithFinalCurves()
523 << c1.p0.x+offset << "," in printResultWithFinalCurves()
529 << c1.p0.y << "," in printResultWithFinalCurves()
536 << c2.p0.x+offset << "," in printResultWithFinalCurves()
540 << c2.p0.y << "," in printResultWithFinalCurves()
545 << c2_part.p0.x+offset << "," in printResultWithFinalCurves()
549 << c2_part.p0.y << "," in printResultWithFinalCurves()
608 c1_orig.p0.x, in Impl_calcClipRange()
609 c1_orig.p0.y ), in Impl_calcClipRange()
704 fMatrix[0] = c.p1.x - c.p0.x; in Impl_calcFocus()
706 fMatrix[2] = (c.p3.y - c.p0.y)/3.0; in Impl_calcFocus()
707 fMatrix[3] = c.p0.y - c.p1.y; 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()
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()
1372 aTestPoly[0] = someCurves[i].p0; in main()
1400 aTestPoly[0] = someCurves[i].p0; in main()
1434 c.p0.x += multiSubdivide_xOffset; in main()
1458 << c1_part1.p0.x << "," in main()
1462 << c1_part1.p0.y+0.01 << "," in main()
1467 << c1_part2.p0.x << "," in main()
1471 << c1_part2.p0.y << "," in main()
1476 << c1_part3.p0.x << "," in main()
1480 << c1_part3.p0.y << "," in main()
1503 c.p0.x += fatLine_xOffset; in main()
1513 << c.p0.x << "," in main()
1517 << c.p0.y << "," in main()
1557 c.p0.x += focus_xOffset; in main()
1567 << c.p0.x << "," in main()
1571 << c.p0.y << "," in main()
1575 << focus.p0.x << "," in main()
1579 << focus.p0.y << "," in main()
1601 c.p0.x += safeParamsBase_xOffset; in main()
1607 poly[0] = c.p0; in main()
1650 c.p0.x += safeParamsBase_xOffset; in main()
1656 poly[0] = c.p0; in main()
1700 c1.p0.x += safeParams_xOffset; in main()
1704 c2.p0.x += safeParams_xOffset; in main()
1726 << c1.p0.x << "," in main()
1730 << c1.p0.y << "," in main()
1734 << c2.p0.x << "," in main()
1738 << c2.p0.y << "," in main()
1742 << c1_part1.p0.x << "," in main()
1746 << c1_part1.p0.y << "," in main()
1769 c1.p0.x += safeParams2_xOffset; in main()
1773 c2.p0.x += safeParams2_xOffset; in main()
1798 c1.p0.x += safeParamsFocus_xOffset; in main()
1802 c2.p0.x += safeParamsFocus_xOffset; in main()
1858 << c1.p0.x << "," in main()
1862 << c1.p0.y << "," in main()
1868 << c2.p0.x << "," in main()
1872 << c2.p0.y << "," in main()
1877 << focus.p0.x << "," in main()
1881 << focus.p0.y << "," in main()
1887 << c2.p0.x << "," in main()
1891 << c2.p0.y << "," in main()
1899 << c1_part1.p0.x << "," in main()
1903 << c1_part1.p0.y+0.01 << "," in main()
1926 c1.p0.x += safeParams3_xOffset; in main()
1930 c2.p0.x += safeParams3_xOffset; in main()
1966 c1.p0.x += bezierClip_xOffset; in main()
1970 c2.p0.x += bezierClip_xOffset; in main()
1976 << c1.p0.x << "," in main()
1980 << c1.p0.y << "," in main()
1984 << c2.p0.x << "," in main()
1988 << c2.p0.y << "," in main()
1992 << c1.p0.x << "," in main()
1997 << c1.p0.y << "," in main()
2002 << c2.p0.x << "," in main()
2007 << c2.p0.y << "," in main()
2026 c1.p0.x += bezierClip_xOffset; in main()
2030 c2.p0.x += bezierClip_xOffset; in main()