tesseract
4.0.0-1-g2a2b
|
Go to the source code of this file.
Macros | |
#define | TO_WIN_XPOS 0 |
#define | TO_WIN_YPOS 0 |
#define | TO_WIN_NAME "Textord" |
#define | EXTERN |
Functions | |
ScrollView * | create_to_win (ICOORD page_tr) |
void | close_to_win () |
void | plot_box_list (ScrollView *win, BLOBNBOX_LIST *list, ScrollView::Color body_colour) |
void | plot_to_row (TO_ROW *row, ScrollView::Color colour, FCOORD rotation) |
void | plot_parallel_row (TO_ROW *row, float gradient, int32_t left, ScrollView::Color colour, FCOORD rotation) |
void | draw_occupation (int32_t xleft, int32_t ybottom, int32_t min_y, int32_t max_y, int32_t occupation[], int32_t thresholds[]) |
void | draw_meanlines (TO_BLOCK *block, float gradient, int32_t left, ScrollView::Color colour, FCOORD rotation) |
void | plot_word_decisions (ScrollView *win, int16_t pitch, TO_ROW *row) |
void | plot_fp_cells (ScrollView *win, ScrollView::Color colour, BLOBNBOX_IT *blob_it, int16_t pitch, int16_t blob_count, STATS *projection, int16_t projection_left, int16_t projection_right, float projection_scale) |
void | plot_fp_cells2 (ScrollView *win, ScrollView::Color colour, TO_ROW *row, FPSEGPT_LIST *seg_list) |
void | plot_row_cells (ScrollView *win, ScrollView::Color colour, TO_ROW *row, float xshift, ICOORDELT_LIST *cells) |
Variables | |
EXTERN bool | textord_show_fixed_cuts = FALSE |
EXTERN ScrollView * | to_win = nullptr |
#define EXTERN |
Definition at line 32 of file drawtord.cpp.
#define TO_WIN_NAME "Textord" |
Definition at line 29 of file drawtord.cpp.
#define TO_WIN_XPOS 0 |
Definition at line 27 of file drawtord.cpp.
#define TO_WIN_YPOS 0 |
Definition at line 28 of file drawtord.cpp.
void close_to_win | ( | ) |
Definition at line 55 of file drawtord.cpp.
ScrollView* create_to_win | ( | ICOORD | page_tr | ) |
Definition at line 46 of file drawtord.cpp.
void draw_meanlines | ( | TO_BLOCK * | block, |
float | gradient, | ||
int32_t | left, | ||
ScrollView::Color | colour, | ||
FCOORD | rotation | ||
) |
Definition at line 209 of file drawtord.cpp.
void draw_occupation | ( | int32_t | xleft, |
int32_t | ybottom, | ||
int32_t | min_y, | ||
int32_t | max_y, | ||
int32_t | occupation[], | ||
int32_t | thresholds[] | ||
) |
Definition at line 165 of file drawtord.cpp.
void plot_box_list | ( | ScrollView * | win, |
BLOBNBOX_LIST * | list, | ||
ScrollView::Color | body_colour | ||
) |
Definition at line 69 of file drawtord.cpp.
void plot_fp_cells | ( | ScrollView * | win, |
ScrollView::Color | colour, | ||
BLOBNBOX_IT * | blob_it, | ||
int16_t | pitch, | ||
int16_t | blob_count, | ||
STATS * | projection, | ||
int16_t | projection_left, | ||
int16_t | projection_right, | ||
float | projection_scale | ||
) |
Definition at line 319 of file drawtord.cpp.
void plot_fp_cells2 | ( | ScrollView * | win, |
ScrollView::Color | colour, | ||
TO_ROW * | row, | ||
FPSEGPT_LIST * | seg_list | ||
) |
Definition at line 363 of file drawtord.cpp.
void plot_parallel_row | ( | TO_ROW * | row, |
float | gradient, | ||
int32_t | left, | ||
ScrollView::Color | colour, | ||
FCOORD | rotation | ||
) |
Definition at line 124 of file drawtord.cpp.
void plot_row_cells | ( | ScrollView * | win, |
ScrollView::Color | colour, | ||
TO_ROW * | row, | ||
float | xshift, | ||
ICOORDELT_LIST * | cells | ||
) |
Definition at line 396 of file drawtord.cpp.
void plot_to_row | ( | TO_ROW * | row, |
ScrollView::Color | colour, | ||
FCOORD | rotation | ||
) |
Definition at line 90 of file drawtord.cpp.
void plot_word_decisions | ( | ScrollView * | win, |
int16_t | pitch, | ||
TO_ROW * | row | ||
) |
Definition at line 249 of file drawtord.cpp.
"Draw fixed pitch cell boundaries"
Definition at line 35 of file drawtord.cpp.
EXTERN ScrollView* to_win = nullptr |
Definition at line 37 of file drawtord.cpp.