|
RecAPI
|
Macros can be used with LETTER::info field. More...
Macros | |
| #define | RH_OCRENGINE(info) ((RECOGNITIONMODULE)(((info) & RH_OCRENGINE_MASK) >> 5)) |
Getting the RECOGNITIONMODULE from the field info. This is the module ID of the engine that actually recognized the given character. With the PLUS engines this is usually RM_RESERVED_M. | |
| #define | RH_OCRENGINE_SET(oeng) (((UINT)(oeng)) << 5) |
Setting the RECOGNITIONMODULE into the field info. | |
| #define | RH_OCRTYPE(info) ((FILLINGMETHOD)(((info) & RH_OCRTYPE_MASK) >> 10)) |
Getting the FILLINGMETHOD from the field info. | |
| #define | RH_OCRTYPE_SET(otype) (((UINT)(otype)) << 10) |
Setting the FILLINGMETHOD into the field info. | |
| #define | RH_BARTYPE(info) ((BAR_TYPE)(((info) & RH_BARTYPE_MASK) >> 24)) |
Getting the BAR_TYPE from the field info. | |
| #define | RH_BARTYPE_SET(btype) (((UINT)(btype)) << 24) |
Setting the BAR_TYPE into the field info. | |
Macros can be used with LETTER::info field.