#include <boxchar.h>
Definition at line 134 of file boxchar.h.
◆ operator()()
bool tesseract::BoxCharPtrSort::operator() |
( |
const BoxChar * |
box1, |
|
|
const BoxChar * |
box2 |
|
) |
| const |
|
inline |
Definition at line 135 of file boxchar.h.
135 {
136 if (box1->rtl_index() >= 0 && box2->rtl_index() >= 0) {
137 return box2->rtl_index() < box1->rtl_index();
138 }
139 return *box1 < *box2;
140 }
The documentation for this struct was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/training/pango/boxchar.h