WERD Class Reference
#include <werd.h>
List of all members.
Public Member Functions |
| WERD () |
| WERD (C_BLOB_LIST *blob_list, uinT8 blanks, const char *text) |
| WERD (PBLOB_LIST *blob_list, uinT8 blanks, const char *text) |
| WERD (PBLOB_LIST *blob_list, WERD *clone) |
| WERD (C_BLOB_LIST *blob_list, WERD *clone) |
| ~WERD () |
WERD * | poly_copy (float xheight) |
WERD * | larc_copy (float xheight) |
C_BLOB_LIST * | rej_cblob_list () |
PBLOB_LIST * | rej_blob_list () |
C_BLOB_LIST * | cblob_list () |
PBLOB_LIST * | blob_list () |
PBLOB_LIST * | gblob_list () |
const char * | text () const |
uinT8 | space () |
void | set_blanks (uinT8 new_blanks) |
void | set_text (const char *new_text) |
TBOX | bounding_box () |
BOOL8 | flag (WERD_FLAGS mask) const |
void | set_flag (WERD_FLAGS mask, BOOL8 value) |
BOOL8 | display_flag (uinT8 flag) const |
void | set_display_flag (uinT8 flag, BOOL8 value) |
WERD * | shallow_copy () |
void | move (const ICOORD vec) |
void | scale (const float vec) |
void | join_on (WERD *&other) |
void | copy_on (WERD *&other) |
void | baseline_normalise (ROW *row, DENORM *denorm=NULL) |
void | baseline_normalise_x (ROW *row, float x_height, DENORM *denorm=NULL) |
void | baseline_denormalise (const DENORM *denorm) |
void | print (FILE *fp) |
void | plot (ScrollView *window, ScrollView::Color colour, BOOL8 solid=FALSE) |
void | plot (ScrollView *window, BOOL8 solid=FALSE) |
void | plot_rej_blobs (ScrollView *window, BOOL8 solid=FALSE) |
WERD & | operator= (const WERD &source) |
void | prep_serialise () |
void | dump (FILE *f) |
void | de_dump (FILE *f) |
Public Attributes |
make_serialise(WERD) private uinT8 | dummy |
BITS16 | flags |
BITS16 | disp_flags |
inT16 | dummy2 |
STRING | correct |
C_BLOB_LIST | cblobs |
C_BLOB_LIST | rej_cblobs |
Constructor & Destructor Documentation
WERD::WERD |
( |
C_BLOB_LIST * |
blob_list, |
|
|
uinT8 |
blanks, |
|
|
const char * |
text | |
|
) |
| | |
WERD::WERD |
( |
PBLOB_LIST * |
blob_list, |
|
|
uinT8 |
blanks, |
|
|
const char * |
text | |
|
) |
| | |
WERD::WERD |
( |
PBLOB_LIST * |
blob_list, |
|
|
WERD * |
clone | |
|
) |
| | |
WERD::WERD |
( |
C_BLOB_LIST * |
blob_list, |
|
|
WERD * |
clone | |
|
) |
| | |
Member Function Documentation
void WERD::baseline_denormalise |
( |
const DENORM * |
denorm |
) |
|
void WERD::baseline_normalise |
( |
ROW * |
row, |
|
|
DENORM * |
denorm = NULL | |
|
) |
| | |
void WERD::baseline_normalise_x |
( |
ROW * |
row, |
|
|
float |
x_height, |
|
|
DENORM * |
denorm = NULL | |
|
) |
| | |
PBLOB_LIST* WERD::blob_list |
( |
|
) |
[inline] |
TBOX WERD::bounding_box |
( |
|
) |
|
C_BLOB_LIST* WERD::cblob_list |
( |
|
) |
[inline] |
void WERD::copy_on |
( |
WERD *& |
other |
) |
|
void WERD::de_dump |
( |
FILE * |
f |
) |
[inline] |
BOOL8 WERD::display_flag |
( |
uinT8 |
flag |
) |
const [inline] |
void WERD::dump |
( |
FILE * |
f |
) |
[inline] |
PBLOB_LIST* WERD::gblob_list |
( |
|
) |
[inline] |
void WERD::join_on |
( |
WERD *& |
other |
) |
|
WERD* WERD::larc_copy |
( |
float |
xheight |
) |
|
void WERD::move |
( |
const ICOORD |
vec |
) |
|
WERD & WERD::operator= |
( |
const WERD & |
source |
) |
|
WERD * WERD::poly_copy |
( |
float |
xheight |
) |
|
void WERD::prep_serialise |
( |
|
) |
[inline] |
void WERD::print |
( |
FILE * |
fp |
) |
|
PBLOB_LIST* WERD::rej_blob_list |
( |
|
) |
[inline] |
C_BLOB_LIST* WERD::rej_cblob_list |
( |
|
) |
[inline] |
void WERD::scale |
( |
const float |
vec |
) |
|
void WERD::set_blanks |
( |
uinT8 |
new_blanks |
) |
[inline] |
void WERD::set_display_flag |
( |
uinT8 |
flag, |
|
|
BOOL8 |
value | |
|
) |
| | [inline] |
void WERD::set_text |
( |
const char * |
new_text |
) |
[inline] |
WERD * WERD::shallow_copy |
( |
|
) |
|
uinT8 WERD::space |
( |
|
) |
[inline] |
const char* WERD::text |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following files: