文章分类 -  OpenGL

摘要:1. UIGraphicsBeginImageContextWithOptions(pageView.page.bounds.size, YES, zoomScale);[pageView.page.layer renderInContext:UIGraphicsGetCurrentContext()];UIImage *uiImage = UIGraphicsGetImageFromCurrentImageContext();UIGraphicsEndImageContext();2.- (UIImage *) glToUIImage {DWScrollView *pageView =... 阅读全文
posted @ 2011-12-07 09:30 harvey.ding 阅读(193) 评论(0) 推荐(0)