Smoother parabels
authorinsilmaril
Fri, 03 Aug 2007 14:13:35 +0000
changeset 5791c487b3dd40f
parent 578 610cc6d70683
child 580 8099ebaf4515
Smoother parabels
linkablemapobj.cpp
tex/vym.changelog
     1.1 --- a/linkablemapobj.cpp	Mon Jul 30 09:47:29 2007 +0000
     1.2 +++ b/linkablemapobj.cpp	Fri Aug 03 14:13:35 2007 +0000
     1.3 @@ -696,12 +696,12 @@
     1.4  		m=(vy / (vx*vx));
     1.5  	dx=vx/(arcsegs);
     1.6  	ya.clear();
     1.7 -	ya<<QPointF (qRound(p1x),qRound(p1y));
     1.8 +	ya<<QPointF (p1x,p1y);
     1.9  	for (int i=1;i<=arcsegs;i++)
    1.10  	{	
    1.11  		pnx=p1x+dx;
    1.12  		pny=m*(pnx-parPos.x())*(pnx-parPos.x())+parPos.y();
    1.13 -		ya<<QPointF (qRound(pnx),qRound(pny));
    1.14 +		ya<<QPointF (pnx,pny);
    1.15  		p1x=pnx;
    1.16  		p1y=pny;
    1.17  	}	
     2.1 --- a/tex/vym.changelog	Mon Jul 30 09:47:29 2007 +0000
     2.2 +++ b/tex/vym.changelog	Fri Aug 03 14:13:35 2007 +0000
     2.3 @@ -1,3 +1,8 @@
     2.4 +-------------------------------------------------------------------
     2.5 +Tue Jul 31 22:09:01 CEST 2007 - uwe
     2.6 +
     2.7 +- Bugfix: Smother parabel links (Alexander Rettig) 
     2.8 +
     2.9  -------------------------------------------------------------------
    2.10  Fri Jul 27 13:31:41 CEST 2007 - uwe
    2.11