[iOS] UIBezierPath를 이용해서 태극 문양 그리기
UIBezierPath *path = [UIBezierPath bezierPath];
[[UIColor blueColor] setFill];
[path moveToPoint:CGPointMake(20, 220)];
[path addArcWithCenter:CGPointMake(90, 220) radius:70.0 startAngle:M_PI endAngle:M_PI*2 clockwise:NO];
[path addArcWithCenter:CGPointMake(230, 220) radius:70.0 startAngle:M_PI endAngle:M_PI*2 clockwise:YES];
[path addArcWithCenter:CGPointMake(160, 220) radius:140.0 startAngle:M_PI*2 endAngle:M_PI clockwise:YES];
[path fill];
path = [UIBezierPath bezierPath];
[[UIColor redColor] setFill];
[path moveToPoint:CGPointMake(20, 220)];
[path addArcWithCenter:CGPointMake(90, 220) radius:70.0 startAngle:M_PI endAngle:M_PI*2 clockwise:NO];
[path addArcWithCenter:CGPointMake(230, 220) radius:70.0 startAngle:M_PI endAngle:M_PI*2 clockwise:YES];
[path addArcWithCenter:CGPointMake(160, 220) radius:140.0 startAngle:M_PI*2 endAngle:M_PI clockwise:NO];
[path fill];