/home/rays/src/opensrc/tesseract-ocr/textord/drawtord.cpp File Reference

#include "mfcpch.h"
#include "pithsync.h"
#include "topitch.h"
#include "drawtord.h"

Defines

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

Functions

void 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 left, ScrollView::Color colour, FCOORD rotation)
void draw_occupation (inT32 xleft, inT32 ybottom, inT32 min_y, inT32 max_y, inT32 occupation[], inT32 thresholds[])
void draw_meanlines (TO_BLOCK *block, float gradient, inT32 left, ScrollView::Color colour, FCOORD rotation)
void plot_word_decisions (ScrollView *win, inT16 pitch, TO_ROW *row)
void plot_fp_cells (ScrollView *win, ScrollView::Color colour, BLOBNBOX_IT *blob_it, inT16 pitch, inT16 blob_count, STATS *projection, inT16 projection_left, inT16 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 ScrollViewto_win = NULL

Define Documentation

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

Function Documentation

void close_to_win (  ) 
void create_to_win ( ICOORD  page_tr  ) 
void draw_meanlines ( TO_BLOCK block,
float  gradient,
inT32  left,
ScrollView::Color  colour,
FCOORD  rotation 
)
void draw_occupation ( inT32  xleft,
inT32  ybottom,
inT32  min_y,
inT32  max_y,
inT32  occupation[],
inT32  thresholds[] 
)
void plot_box_list ( ScrollView win,
BLOBNBOX_LIST *  list,
ScrollView::Color  body_colour 
)
void plot_fp_cells ( ScrollView win,
ScrollView::Color  colour,
BLOBNBOX_IT *  blob_it,
inT16  pitch,
inT16  blob_count,
STATS projection,
inT16  projection_left,
inT16  projection_right,
float  projection_scale 
)
void plot_fp_cells2 ( ScrollView win,
ScrollView::Color  colour,
TO_ROW row,
FPSEGPT_LIST *  seg_list 
)
void plot_parallel_row ( TO_ROW row,
float  gradient,
inT32  left,
ScrollView::Color  colour,
FCOORD  rotation 
)
void plot_row_cells ( ScrollView win,
ScrollView::Color  colour,
TO_ROW row,
float  xshift,
ICOORDELT_LIST *  cells 
)
void plot_to_row ( TO_ROW row,
ScrollView::Color  colour,
FCOORD  rotation 
)
void plot_word_decisions ( ScrollView win,
inT16  pitch,
TO_ROW row 
)

Variable Documentation

EXTERN bool textord_show_fixed_cuts = FALSE

"Draw fixed pitch cell boundaries"

EXTERN ScrollView* to_win = NULL
Generated on Thu Feb 2 08:19:22 2012 for Tesseract by  doxygen 1.6.3