[iPhone Dev] 손가락 따라 그림 (선) 그리기
Dec 31
iphone #line, CAShapeLayer, dev, ios, iPad, iphone, opengl, Quartz, texturing, UIImage, 아애픋, 아이폰, 애플 No Comments
CAShapeLayer로 그림을 그리면 layer가 쌓일 수록 점점 느려지고
( Animating the drawing of a CGPath with CAShapeLayer )
그나마 빈 UIImage를 만들어서 image의 graphic context에 그림을 그리면 그나마 나아지지만
( [Tutorial] Drawing to the screen. )
역시 Image를 texturing해서 OpenGL로 그리는 것이 최고인 것 같다.
( GLPaint )
애플의 GLPaint 예제를 iPad 앱으로 만들어서 돌려봐도 아주 만족 스럽다.



