Shape Recognition...


Functions

char XF_CheckLetter (void)
 Analyzes the drawn shape and returns a letter according to it. 0 if nothing. The drawn shape's string is copied into XF_RecoShape on Stylus Release. You can find a copy of the current letters used here : http://www.palib.info/Reco/XFGraffiti.gif.
void XF_RecoAddShape (char letter, char *shape)
 Adds a new shape to the recognition system Letter it will return for that shape (you can use any thing, even a number from 1 to 255) 15 characters string given by the recognition system in XF_RecoShape.
void XF_ResetRecoSys (void)
 Resets the Recognition system.
void XF_UseXFGraffiti (u8 use)
 Set on or off the XF Graffiti letters. You'll want to turn them off if you plan on using your own shapes.... 1/0, on/off...

Detailed Description

Draw a shape and have it recognized !

Function Documentation

char XF_CheckLetter ( void   ) 

Analyzes the drawn shape and returns a letter according to it. 0 if nothing. The drawn shape's string is copied into XF_RecoShape on Stylus Release. You can find a copy of the current letters used here : http://www.palib.info/Reco/XFGraffiti.gif.

Definition at line 207 of file xf_reco.c.

void XF_RecoAddShape ( char  letter,
char *  shape 
)

Adds a new shape to the recognition system Letter it will return for that shape (you can use any thing, even a number from 1 to 255) 15 characters string given by the recognition system in XF_RecoShape.

Definition at line 238 of file xf_reco.c.

void XF_ResetRecoSys ( void   ) 

Resets the Recognition system.

Definition at line 249 of file xf_reco.c.

void XF_UseXFGraffiti ( u8  use  ) 

Set on or off the XF Graffiti letters. You'll want to turn them off if you plan on using your own shapes.... 1/0, on/off...

Definition at line 256 of file xf_reco.c.


Generated on Wed Dec 12 23:46:48 2007 for XFlib by  doxygen 1.5.4