#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 ScrollView * | to_win = NULL |
#define EXTERN |
#define TO_WIN_NAME "Textord" |
#define TO_WIN_XPOS 0 |
#define TO_WIN_YPOS 0 |
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 | |||
) |
EXTERN bool textord_show_fixed_cuts = FALSE |
"Draw fixed pitch cell boundaries"
EXTERN ScrollView* to_win = NULL |