【发布时间】:2012-05-17 19:09:05
【问题描述】:
我想在CGContext中从下到上水平写一个文本?我做了以下。
CGContextSelectFont(cgContext, "Arial", 8, kCGEncodingMacRoman);
CGContextSetTextMatrix(cgContext, CGAffineTransformMakeRotation (M_PI /2));
CGContextShowTextAtPoint(cgContext, xval, yval, "transd", 6);
文本是水平的,但它显示的文本是反向的。如何解决这个问题?
【问题讨论】:
标签: ios4 ios5 core-graphics