tesseract v5.3.3.20231005
drawtord.cpp File Reference
#include "drawtord.h"
#include "pithsync.h"
#include "topitch.h"

Go to the source code of this file.

Namespaces

namespace  tesseract
 

Macros

#define TO_WIN_XPOS   0
 
#define TO_WIN_YPOS   0
 
#define TO_WIN_NAME   "Textord"
 

Functions

ScrollView * tesseract::create_to_win (ICOORD page_tr)
 
void tesseract::close_to_win ()
 
void tesseract::plot_box_list (ScrollView *win, BLOBNBOX_LIST *list, ScrollView::Color body_colour)
 
void tesseract::plot_to_row (TO_ROW *row, ScrollView::Color colour, FCOORD rotation)
 
void tesseract::plot_parallel_row (TO_ROW *row, float gradient, int32_t left, ScrollView::Color colour, FCOORD rotation)
 
void tesseract::draw_occupation (int32_t xleft, int32_t ybottom, int32_t min_y, int32_t max_y, int32_t occupation[], int32_t thresholds[])
 
void tesseract::draw_meanlines (TO_BLOCK *block, float gradient, int32_t left, ScrollView::Color colour, FCOORD rotation)
 
void tesseract::plot_word_decisions (ScrollView *win, int16_t pitch, TO_ROW *row)
 
void tesseract::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 tesseract::plot_fp_cells2 (ScrollView *win, ScrollView::Color colour, TO_ROW *row, FPSEGPT_LIST *seg_list)
 
void tesseract::plot_row_cells (ScrollView *win, ScrollView::Color colour, TO_ROW *row, float xshift, ICOORDELT_LIST *cells)
 

Variables

bool tesseract::textord_show_fixed_cuts = false
 
ScrollView * tesseract::to_win = nullptr
 

Macro Definition Documentation

◆ TO_WIN_NAME

#define TO_WIN_NAME   "Textord"

Definition at line 32 of file drawtord.cpp.

◆ TO_WIN_XPOS

#define TO_WIN_XPOS   0

Definition at line 30 of file drawtord.cpp.

◆ TO_WIN_YPOS

#define TO_WIN_YPOS   0

Definition at line 31 of file drawtord.cpp.