【发布时间】:2012-08-05 17:14:43
【问题描述】:
我目前正在 iphone 上开发一个类似 Photoshop 的简单应用程序。当我想展平我的图层时,标签的位置很好,但字体大小很差。 这是我要展平的代码:
UIGraphicsBeginImageContext(CGSizeMake(widthDocument,widthDocument));
for (UILabel *label in arrayLabel) {
[label drawTextInRect:label.frame];
}
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
谁能帮帮我?
【问题讨论】:
标签: iphone objective-c uiimage uilabel flatten