OS.CGContextAddArc(handle, 0, 0, 1, -startAngle * (float)Math.PI / 180,  -endAngle * (float)Math.PI / 180, true);
OS.CGContextAddArc(handle, 0, 0, 1, -startAngle * (float)Math.PI / 180,  -(startAngle + arcAngle) * (float)Math.PI / 180, true);
public void drawArc(int x, int y, int width, int height, int startAngle, int endAngle) {	if (handle == 0) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);	if (data.updateClip) setCGClipping();	if (width < 0) {		x = x + width;		width = -width;	}	if (height < 0) {		y = y + height;		height = -height;	}	if (width == 0 || height == 0 || endAngle == 0) {		SWT.error(SWT.ERROR_INVALID_ARGUMENT);	}		OS.CGContextBeginPath(handle);	OS.CGContextSaveGState(handle);	float offset = (data.lineWidth % 2) == 1 ? 0.5f : 0f;	OS.CGContextTranslateCTM(handle, x + offset + width / 2f, y + offset + height / 2f);	OS.CGContextScaleCTM(handle, width / 2f, height / 2f);	OS.CGContextAddArc(handle, 0, 0, 1, -startAngle * (float)Math.PI / 180,  -endAngle * (float)Math.PI / 180, true);	OS.CGContextRestoreGState(handle);	OS.CGContextStrokePath(handle);	if (data.control != 0 && data.paintEvent == 0) OS.CGContextSynchronize(handle);}