I want to map strokes in a user-selected area of the main screen to be
interpreted as Graffiti. The user-selected area will not necessarily be
the same size as the "official" Graffiti area. Unfortunately, I can't
figure out how to do this from the documentation anywhere.

* Are there any examples that someone can point me to of using functions
like GrfAddPoint and GrfProcessStroke? I couldn't find any examples in
the usual places. (I don't have the source code license.)

* From the documentation, it seems like I should call GrfAddPoint for
each point the user makes in my area, and then call GrfProcessStroke at
the end. Is this right? Is there anything else I need to do, like
GrfCleanState or GrfInitState or GrfFlushPoints?

* Is the (PointType* pt) parameter to GrfAddPoint a pointer to my
structure that I put the x and y value in it? Does GrfAddPoint then copy
the point values out of that structure into its own structure?

* Do I need to translate the x and y coordinates of the points I pass to
GrfAddPoint to pretend they were done in the Graffiti box for them to be
recognized correctly?

* The documentation says that GrfProcessStroke is a "high-level"
interface, but what do I pass as the PointType* startPtP and PointType*
endPtP parameters to GrfProcessStroke?

Thanks for your help!
Brad Myers
Carnegie Mellon University

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to