Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Smooth & fast line drawing from touch inputs for UIViews using Quartz

branch: master

Merge pull request #15 from algal/master

many small changes which modernize, refactor, and comment the code base
latest commit 8371f138e3
Levi Nunnink authored
Octocat-spinner-32 Examples Added example images August 12, 2011
Octocat-spinner-32 Smooth Line View.xcodeproj update project settings February 01, 2014
Octocat-spinner-32 Smooth Line View refactor calculation of bounds path February 03, 2014
Octocat-spinner-32 .gitignore add gitignore February 01, 2014
Octocat-spinner-32 Default-568h@2x.png add xcode auto default image February 01, 2014
Octocat-spinner-32 LICENSE Adds license October 31, 2013
Octocat-spinner-32 README.markdown Updated License January 05, 2013
README.markdown

Smooth line UIView

The goal of this project is to create a UIView that can generate smooth lines from touch input in a reasonably fast manner without moving to a more complex framework like OpenGL.

Update: Completely re-written smooth line algorithm to use native CGContext quadratic curves. The result is much faster and smoother drawing. There's no more need for switching between agorithms.

Many thanks to Ginamin for his elegant solution.

The Smooth Line View code is licensed under the MIT License: http://opensource.org/licenses/MIT

Something went wrong with that request. Please try again.