Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 381063
Collapse All | Expand All

(-)src/graphics/vector/beziercurve.cpp.ORIG (-2 / +2 lines)
Lines 700-708 Link Here
700
	R1.setTopLeft(P1); R1.setBottomRight(Q1);
700
	R1.setTopLeft(P1); R1.setBottomRight(Q1);
701
	R2.setTopLeft(P2); R2.setBottomRight(Q2);
701
	R2.setTopLeft(P2); R2.setBottomRight(Q2);
702
	
702
	
703
	//QPointF intersectionPoint = QPointF(50.0, 50.0); // bogus point
703
	QPointF intersectionPoint = QPointF(50.0, 50.0); // bogus point
704
	//QPointF* intersection = &intersectionPoint;
704
	//QPointF* intersection = &intersectionPoint;
705
	QPointF* cubicIntersection = &QPointF(50.0, 50.0); // bogus point
705
	QPointF* cubicIntersection = &intersectionPoint; // bogus point
706
	if( R1.intersects(R2) || L2.intersect(L1, cubicIntersection) == QLineF::BoundedIntersection ) {
706
	if( R1.intersects(R2) || L2.intersect(L1, cubicIntersection) == QLineF::BoundedIntersection ) {
707
	//if(L2.intersect(L1, intersection) == QLineF::BoundedIntersection) {
707
	//if(L2.intersect(L1, intersection) == QLineF::BoundedIntersection) {
708
		//qDebug() << "                   FOUND rectangle intersection ";
708
		//qDebug() << "                   FOUND rectangle intersection ";

Return to bug 381063