Lines Matching refs:i
219 int i, j; in drawPolishDiamond() local
225 for (i = 0; i < VERTICES; i++) in drawPolishDiamond()
227 a = 2.0 * M_PI * i / VERTICES; in drawPolishDiamond()
230 for (j = i + 1; j < VERTICES; j++) in drawPolishDiamond()
255 for (int i = 0; i < nLength; i++ ) in drawHilbert() local
257 switch( hilbert[i] ) in drawHilbert()
260 aPoints[i+1] = geometry::RealPoint2D( aPoints[i].X, in drawHilbert()
261 aPoints[i].Y - SCALE ); in drawHilbert()
264 aPoints[i+1] = geometry::RealPoint2D( aPoints[i].X, in drawHilbert()
265 aPoints[i].Y + SCALE ); in drawHilbert()
268 aPoints[i+1] = geometry::RealPoint2D( aPoints[i].X - SCALE, in drawHilbert()
269 aPoints[i].Y ); in drawHilbert()
272 aPoints[i+1] = geometry::RealPoint2D( aPoints[i].X + SCALE, in drawHilbert()
273 aPoints[i].Y ); in drawHilbert()
430 for (int i= 0; i < num_curves; i++) in drawCurves() local
431 aBeziers[i]= geometry::RealBezierSegment2D( r * cos(i*2*M_PI/num_curves), //Px in drawCurves()
432 r * sin(i*2*M_PI/num_curves), //py in drawCurves()
433 r * 2 * cos((i*2*M_PI + 2*M_PI)/num_curves), //C1x in drawCurves()
434 r * 2 * sin((i*2*M_PI + 2*M_PI)/num_curves), //C1y in drawCurves()
435 r * 2 * cos((i*2*M_PI + 2*M_PI)/num_curves), //C2x in drawCurves()
436 r * 2 * sin((i*2*M_PI + 2*M_PI)/num_curves)); //C2y in drawCurves()
482 for (int i= 0; i < 1; i++) in drawArcs() local
524 for (int i= 0; i < sides; i++) in drawRegularPolygon() local
526 aPoints[i]= geometry::RealPoint2D( centerx + r * cos(i*2 * M_PI/sides), in drawRegularPolygon()
527 centery + r * sin(i*2 * M_PI/sides)); in drawRegularPolygon()
550 for (int i= 1; i <= 4; i++) in drawPolygons() local
552 drawRegularPolygon(35*i, 35, sides, 15); in drawPolygons()
650 for( USHORT i = 0; i < GetCommandLineParamCount(); i++ ) in Main() local
652 ::rtl::OUString aParam = GetCommandLineParam( i ); in Main()