forked from brightredchilli/Free-Sketching
-
Notifications
You must be signed in to change notification settings - Fork 0
Nurymka/Free-Sketching
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Freeform Drawing in iOS This sample project demonstrates how to draw freeform lines in iOS. Based strongly on: http://stackoverflow.com/questions/5076622/iphone-smooth-sketch-drawing-algorithm The main classes are - MotionTrackingViewController.h/m View Controller that adds a pan gesture recognizer to the screen and conveys the information to the drawing delegate, FreeformLineDrawer. This controller also creates a layer that is added to the view. - FreeformLineDrawer.h/m Drawing delegate for the CALayer. Maintains a CFMutableArray that keeps track of all the paths that have been drawn onto the screen. Keeps track of paths that have been added. Contributions are welcome.
About
A project to help me figure out how to save smooth path information to a CALayer and display it on the screen
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published