|
Tesseract
3.02
|
Go to the source code of this file.
Defines | |
| #define | FIRST_COLOUR ScrollView::RED |
| #define | LAST_COLOUR ScrollView::AQUAMARINE |
| #define | CHILD_COLOUR ScrollView::BROWN |
Functions | |
| int | word_comparator (const void *word1p, const void *word2p) |
Variables | |
| const ERRCODE | CANT_SCALE_EDGESTEPS = "Attempted to scale an edgestep format word" |
| int word_comparator | ( | const void * | word1p, |
| const void * | word2p | ||
| ) |
word comparator used to sort a word list so that words are in increasing order of left edge.
Definition at line 381 of file werd.cpp.
{
WERD *word1 = *(WERD **)word1p;
WERD *word2 = *(WERD **)word2p;
return word1->bounding_box().left() - word2->bounding_box().left();
}
| const ERRCODE CANT_SCALE_EDGESTEPS = "Attempted to scale an edgestep format word" |