Yes, have looked at those, in fact, I've gone ahead and created a
custom gesture detector that I make use of to recognize the concept of
a 'stroke', reporting back to the view when a stroke starts, is in
progress and ends.  Again though, this is feeding me back point data
via the MotionEvent, but I need to somehow describe shape for the
paths that I would like to store.  I have looked at the SVG Path
standard:

http://www.w3schools.com/svg/svg_path.asp

Looks like a possibility in terms of efficiently storing the shape of
the stroke, but to use it I need to somehow take a set of points and
'recognize' when it is a curve, arc, etc...  maybe I extend my
StrokeGestureDetector to report back when the stroke is curved, etc?
I guess the issue now is the nuts and bolts of it... how do I
determine when a set of x,y coords forms a curve, a sharp curve (such
as when printing an M for example), etc.

Paul

On Dec 30, 10:23 am, MrChaz <[email protected]> wrote:
> You might want to look at the GestureDetector 
> (http://developer.android.com/reference/android/view/GestureDetector.html) as
> it's designed to do pretty much this exact task iirc.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to