项目作者: notoroid

项目描述 :
Circumscribed sample drawing. We describe how to obtain a photograph of the source code that uses a basic explanation of when drawing the image, the ALAsset.framework. Miscellaneous Thoughts on UIImage from below. Not only wraps the CoreGraphics, and scale, UIImage me with the appropriate action for rotation. Can reduce the number of code than CGImageRef drawn directly for drawing that takes into account the rotation-based methods, particularly draw. Also, I recommend that you convert the value to be lazy is not the conversion of UIImage orientation is a separate definition and ALAsset.framework. - 外接描画サンプル。画像を描画する際の基本的なソースコードの解説、ALAsset.framework を使った写真の取得方法について記述している。以下からUIImage についての雑感。UIImageはCoreGraphics をラップしているだけでなく、スケール及び、回転について適切な処理をしてくれる。特にdraw系メソッドは回転を考慮した描画を行うためCGImageRef で直接描画するよりもコード数を減らす事ができる。また、ALAsset.framework とUIImage のorientation は別途の定義なので変換の際は横着せずに値を変換することをお勧めする。
高级语言:
项目地址: git://github.com/notoroid/CircumscribedDrawSample.git
创建时间: 2012-09-23T08:51:14Z
项目社区:https://github.com/notoroid/CircumscribedDrawSample

开源协议:

下载