Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

  1. /************************ ...\twister\inc\twister.h ************************\
  2. * *
  3. * Functions and data structures for the Twister recognizer. *
  4. * *
  5. * Created: December 6, 2001 *
  6. * Author: Petr Slavik, pslavik *
  7. * *
  8. \***************************************************************************/
  9. #ifndef __INCLUDE_TWISTER_H
  10. #define __INCLUDE_TWISTER_H
  11. #include "RecTypes.h"
  12. #ifdef __cplusplus
  13. extern "C"
  14. {
  15. #endif
  16. #include "common.h"
  17. #include "twisterdefs.h"
  18. /***************************************************************************\
  19. * TwisterReco: *
  20. * Main function for the Twister Recognizer. *
  21. * *
  22. * Returns the number of alternates actually computed or 0 if *
  23. * something goes wrong. *
  24. \***************************************************************************/
  25. int
  26. TwisterReco(GEST_ALTERNATE *pGestAlt, // O: Array of alternates
  27. int cAlts, // I: Max # of alternates needed
  28. GLYPH *pGlyph, // I: One character ink
  29. DWORD *pdwEnabledGestures, // I: Bit array of enabled gestures
  30. LONG lPPI); // I: Number of pts per inch
  31. #ifdef __cplusplus
  32. };
  33. #endif
  34. #endif // __INCLUDE_TWISTER_H