[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/tools
From: Michael Thaler <michael.thaler () physik ! tu-muenchen ! de>
Date: 2005-03-13 19:15:10
Message-ID: 20050313191510.0CD321487F () office ! kde ! org
[Download RAW message or body]
CVS commit by mthaler:
Just commented out some debug comments
M +25 -26 kis_tool_star.cc 1.2
--- koffice/krita/tools/kis_tool_star.cc #1.1:1.2
@@ -191,14 +191,13 @@ QPointArray KisToolStar::starCoordinates
// the radius of the outer edges
R=sqrt((x-mx)*(x-mx)+(y-my)*(y-my));
- kdDebug() << "starCoordinates: Radius R: " << R << endl;
+ //kdDebug() << "starCoordinates: Radius R: " << R << endl;
// the radius of the inner edges
r=R*m_innerOuterRatio/100.0;
- kdDebug() << "starCoordinates: Radius R: " << R << endl;
+ //kdDebug() << "starCoordinates: Radius R: " << R << endl;
//set outer edges
for(n=0;n<N;n++){
- starCoordinatesArray.setPoint(2*n,mx+R*cos(n * 2.0 * M_PI / N),my+R*sin(n *
- 2.0 * M_PI / N));
+ starCoordinatesArray.setPoint(2*n,mx+R*cos(n * 2.0 * M_PI / \
N),my+R*sin(n *2.0 * M_PI / N)); }
@@ -209,5 +208,5 @@ QPointArray KisToolStar::starCoordinates
for(n=0;n<2*N;n++)
- kdDebug() << "starCoordinatesArray: (x,y) " << starCoordinatesArray.point(n) << \
endl; + //kdDebug() << "starCoordinatesArray: (x,y) " << \
starCoordinatesArray.point(n) << endl; return starCoordinatesArray;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic