Lines Matching refs:c1
143 const Bezier& c1 ) in Impl_calcBounds() argument
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()
151 bool Impl_doBBoxIntersect( const Bezier& c1, in Impl_doBBoxIntersect() argument
160 Impl_calcBounds( lt1, rb1, c1 ); in Impl_doBBoxIntersect()
292 double c1, in Impl_calcSafeParams_clip() argument
299 poly[1] = Point2D(1.0/3.0, c1); in Impl_calcSafeParams_clip()
400 void printCurvesWithSafeRange( const Bezier& c1, const Bezier& c2, double t1_c1, double t2_c1, in printCurvesWithSafeRange() argument
414 Impl_deCasteljauAt( c1_part1, c1_part2, c1, t1_c1 ); in printCurvesWithSafeRange()
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()
425 << c1.p0.y << "," in printCurvesWithSafeRange()
426 << c1.p1.y << "," in printCurvesWithSafeRange()
427 << c1.p2.y << "," in printCurvesWithSafeRange()
428 << c1.p3.y << ",t), bez(" in printCurvesWithSafeRange()
484 void printResultWithFinalCurves( const Bezier& c1, const Bezier& c1_part, in printResultWithFinalCurves() argument
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()
498 << c1.p0.y << "," in printResultWithFinalCurves()
499 << c1.p1.y << "," in printResultWithFinalCurves()
500 << c1.p2.y << "," in printResultWithFinalCurves()
501 << c1.p3.y << ",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()
517 << c1.p0.y << "," in printResultWithFinalCurves()
518 << c1.p1.y << "," in printResultWithFinalCurves()
519 << c1.p2.y << "," in printResultWithFinalCurves()
520 << c1.p3.y << "," 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()
529 << c1.p0.y << "," in printResultWithFinalCurves()
530 << c1.p1.y << "," in printResultWithFinalCurves()
531 << c1.p2.y << "," in printResultWithFinalCurves()
532 << c1.p3.y << "," in printResultWithFinalCurves()
1210 const Bezier& c1, in clipBezier() argument
1227 Impl_calcCollinearNormals( ii, delta, 0, c1, c1, 0.0, 1.0, c2, c2, 0.0, 1.0 ); in clipBezier()
1240 Bezier c1_remainder( c1 ); in clipBezier()
1274 …Impl_applySafeRanges_rec( result, delta, BezierTangencyFunctor(), 0, c1, c1, 0.0, 1.0, c2, c2, 0.0… in clipBezier()
1697 Bezier c1( someCurves[i] ); in main() local
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()
1711 if( Impl_calcClipRange(t1, t2, c1, c1, c2, c2) ) in main()
1719 Impl_deCasteljauAt( c1_part1, c1_part2, c1, t1 ); 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()
1730 << c1.p0.y << "," in main()
1731 << c1.p1.y << "," in main()
1732 << c1.p2.y << "," in main()
1733 << c1.p3.y << ",t), bez(" in main()
1766 Bezier c1( someCurves[0] ); in main() local
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()
1781 Impl_calcClipRange(t1, t2, c1, c1, c2, c2); in main()
1795 Bezier c1( someCurves[i] ); in main() local
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()
1841 c1, focus ) ); in main()
1851 Impl_deCasteljauAt( c1_part1, c1_part2, c1, t1 ); 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()
1862 << c1.p0.y << "," in main()
1863 << c1.p1.y << "," in main()
1864 << c1.p2.y << "," in main()
1865 << c1.p3.y << ",t) title \"c1\", " in main()
1923 Bezier c1( someCurves[0] ); in main() local
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()
1946 c1, focus ); in main()
1963 Bezier c1( someCurves[i] ); in main() local
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()
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()
1980 << c1.p0.y << "," in main()
1981 << c1.p1.y << "," in main()
1982 << c1.p2.y << "," in main()
1983 << c1.p3.y << ",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()
1997 << c1.p0.y << "," in main()
1998 << c1.p1.y << "," in main()
1999 << c1.p2.y << "," in main()
2000 …<< c1.p3.y << ",$1)) title \"bezier " << i << " clipped against " << j << " (t on " << i << ")\", " in main()
2023 Bezier c1( someCurves[i] ); in main() local
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()
2035 clipBezier( ii, 0.00001, c1, c2 ); in main()