Core Graphics を使用して描画するときに、複数のテキストを右揃えにしたいと考えています。以下は、現在テキストを描画するために使用しているコードです。右揃えの複数のテキストを描画するにはどうすればよいですか?
CGContextSelectFont(context, "Helvetica-Light", 10.0f,kCGEncodingMacRoman);
CGContextSetTextDrawingMode(context, kCGTextFill);
CGContextSetFillColorWithColor(context, _privateColor.CGColor);
CGContextShowTextAtPoint(context, point.x, point.y, [text cStringUsingEncoding:NSUTF8StringEncoding], text.length);