#include <shapetable.h>
Definition at line 160 of file shapetable.h.
◆ UnicharAndFonts() [1/2]
tesseract::UnicharAndFonts::UnicharAndFonts |
( |
| ) |
|
|
inline |
◆ UnicharAndFonts() [2/2]
tesseract::UnicharAndFonts::UnicharAndFonts |
( |
int |
uni_id, |
|
|
int |
font_id |
|
) |
| |
|
inline |
Definition at line 163 of file shapetable.h.
GenericVector< int32_t > font_ids
◆ DeSerialize()
bool tesseract::UnicharAndFonts::DeSerialize |
( |
TFile * |
fp | ) |
|
Definition at line 74 of file shapetable.cpp.
bool DeSerialize(bool swap, FILE *fp)
GenericVector< int32_t > font_ids
◆ Serialize()
bool tesseract::UnicharAndFonts::Serialize |
( |
FILE * |
fp | ) |
const |
Definition at line 69 of file shapetable.cpp.
bool Serialize(FILE *fp, const char *data, size_t n)
bool Serialize(FILE *fp) const
GenericVector< int32_t > font_ids
◆ SortByUnicharId()
int tesseract::UnicharAndFonts::SortByUnicharId |
( |
const void * |
v1, |
|
|
const void * |
v2 |
|
) |
| |
|
static |
Definition at line 79 of file shapetable.cpp.
82 return p1->unichar_id - p2->unichar_id;
◆ font_ids
◆ unichar_id
int32_t tesseract::UnicharAndFonts::unichar_id |
The documentation for this struct was generated from the following files: