• Stars
    star
    645
  • Rank 69,781 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 13 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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