code: public void drawArc(float x1, float y1, float width, float height,
  			int segments, float start, float end) {
  		predraw();
  		TextureImpl.bindNone();
  		currentColor.bind();
  
  		while (end < start) {
  			end += 360;
  		}
  
  		float cx = x1 + (width / 2.0f);
  		float cy = y1 + (height / 2.0f);
  
  		LSR.start();
  		int step = 360 / segments;
  
  		for (int a = (int) start; a < (int) (end + step); a += step) {
  			float ang = a;
  			if (ang > end) {
  				ang = end;
  			}
  			float x = (float) (cx + (FastTrig.cos(Math.toRadians(ang)) * width / 2.0f));
  			float y = (float) (cy + (FastTrig.sin(Math.toRadians(ang)) * height / 2.0f));
  
  			LSR.vertex(x,y);
  		}
  		LSR.end();
  		postdraw();
  	}
docs: Draw an oval to the canvas
  
  @param x1
  The x coordinate of the top left corner of a box containing
  the arc
  @param y1
  The y coordinate of the top left corner of a box containing
  the arc
  @param width
  The width of the arc
  @param height
  The height of the arc
  @param segments
  The number of line segments to use when drawing the arc
  @param start
  The angle the arc starts at
  @param end
  The angle the arc ends at