#include "werd.h"
#include <tesseract/helpers.h>
#include "linlsq.h"
Go to the source code of this file.
◆ CHILD_COLOUR
colour of children
Definition at line 29 of file werd.cpp.
◆ FIRST_COLOUR
first rainbow colour
Definition at line 27 of file werd.cpp.
◆ LAST_COLOUR
last rainbow colour
Definition at line 28 of file werd.cpp.
◆ word_comparator()
int word_comparator |
( |
const void * |
word1p, |
|
|
const void * |
word2p |
|
) |
| |
word_comparator()
word comparator used to sort a word list so that words are in increasing order of left edge.
Definition at line 369 of file werd.cpp.
371 const WERD* word1 = *reinterpret_cast<const WERD* const*>(word1p);
372 const WERD* word2 = *reinterpret_cast<const WERD* const*>(word2p);