#include "mfcpch.h"
#include "stderr.h"
#include "blobbox.h"
#include "statistc.h"
#include "drawtord.h"
#include "tovars.h"
#include "topitch.h"
#include "fpchop.h"
#include "params.h"
#include "notdll.h"
Defines | |
#define | EXTERN |
Functions | |
ROW * | fixed_pitch_words (TO_ROW *row, FCOORD rotation) |
WERD * | add_repeated_word (WERD_IT *rep_it, inT16 &rep_left, inT16 &prev_chop_coord, uinT8 &blanks, float pitch, WERD_IT *word_it) |
void | split_to_blob (BLOBNBOX *blob, inT16 chop_coord, float pitch_error, C_OUTLINE_LIST *left_coutlines, C_OUTLINE_LIST *right_coutlines) |
void | fixed_chop_cblob (C_BLOB *blob, inT16 chop_coord, float pitch_error, C_OUTLINE_LIST *left_outlines, C_OUTLINE_LIST *right_outlines) |
void | fixed_split_coutline (C_OUTLINE *srcline, inT16 chop_coord, float pitch_error, C_OUTLINE_IT *left_it, C_OUTLINE_IT *right_it) |
BOOL8 | fixed_chop_coutline (C_OUTLINE *srcline, inT16 chop_coord, float pitch_error, C_OUTLINE_FRAG_LIST *left_frags, C_OUTLINE_FRAG_LIST *right_frags) |
inT16 | next_anti_left_seg (C_OUTLINE *srcline, inT16 tail_index, inT16 startindex, inT32 length, inT16 chop_coord, float pitch_error, ICOORD *tail_pos) |
inT16 | next_anti_right_seg (C_OUTLINE *srcline, inT16 tail_index, inT16 startindex, inT32 length, inT16 chop_coord, float pitch_error, ICOORD *tail_pos) |
inT16 | next_clock_left_seg (C_OUTLINE *srcline, inT16 tail_index, inT16 startindex, inT32 length, inT16 chop_coord, float pitch_error, ICOORD *tail_pos) |
inT16 | next_clock_right_seg (C_OUTLINE *srcline, inT16 tail_index, inT16 startindex, inT32 length, inT16 chop_coord, float pitch_error, ICOORD *tail_pos) |
void | save_chop_cfragment (inT16 head_index, ICOORD head_pos, inT16 tail_index, ICOORD tail_pos, C_OUTLINE *srcline, C_OUTLINE_FRAG_LIST *frags) |
void | add_frag_to_list (C_OUTLINE_FRAG *frag, C_OUTLINE_FRAG_LIST *frags) |
void | close_chopped_cfragments (C_OUTLINE_FRAG_LIST *frags, C_OUTLINE_LIST *children, float pitch_error, C_OUTLINE_IT *dest_it) |
C_OUTLINE * | join_chopped_fragments (C_OUTLINE_FRAG *bottom, C_OUTLINE_FRAG *top) |
void | join_segments (C_OUTLINE_FRAG *bottom, C_OUTLINE_FRAG *top) |
Variables | |
EXTERN int | textord_fp_chop_error = 2 |
EXTERN double | textord_fp_chop_snap = 0.5 |
#define EXTERN |
void add_frag_to_list | ( | C_OUTLINE_FRAG * | frag, | |
C_OUTLINE_FRAG_LIST * | frags | |||
) |
WERD* add_repeated_word | ( | WERD_IT * | rep_it, | |
inT16 & | rep_left, | |||
inT16 & | prev_chop_coord, | |||
uinT8 & | blanks, | |||
float | pitch, | |||
WERD_IT * | word_it | |||
) |
void close_chopped_cfragments | ( | C_OUTLINE_FRAG_LIST * | frags, | |
C_OUTLINE_LIST * | children, | |||
float | pitch_error, | |||
C_OUTLINE_IT * | dest_it | |||
) |
void fixed_chop_cblob | ( | C_BLOB * | blob, | |
inT16 | chop_coord, | |||
float | pitch_error, | |||
C_OUTLINE_LIST * | left_outlines, | |||
C_OUTLINE_LIST * | right_outlines | |||
) |
BOOL8 fixed_chop_coutline | ( | C_OUTLINE * | srcline, | |
inT16 | chop_coord, | |||
float | pitch_error, | |||
C_OUTLINE_FRAG_LIST * | left_frags, | |||
C_OUTLINE_FRAG_LIST * | right_frags | |||
) |
void fixed_split_coutline | ( | C_OUTLINE * | srcline, | |
inT16 | chop_coord, | |||
float | pitch_error, | |||
C_OUTLINE_IT * | left_it, | |||
C_OUTLINE_IT * | right_it | |||
) |
C_OUTLINE* join_chopped_fragments | ( | C_OUTLINE_FRAG * | bottom, | |
C_OUTLINE_FRAG * | top | |||
) |
void join_segments | ( | C_OUTLINE_FRAG * | bottom, | |
C_OUTLINE_FRAG * | top | |||
) |
inT16 next_anti_left_seg | ( | C_OUTLINE * | srcline, | |
inT16 | tail_index, | |||
inT16 | startindex, | |||
inT32 | length, | |||
inT16 | chop_coord, | |||
float | pitch_error, | |||
ICOORD * | tail_pos | |||
) |
inT16 next_anti_right_seg | ( | C_OUTLINE * | srcline, | |
inT16 | tail_index, | |||
inT16 | startindex, | |||
inT32 | length, | |||
inT16 | chop_coord, | |||
float | pitch_error, | |||
ICOORD * | tail_pos | |||
) |
inT16 next_clock_left_seg | ( | C_OUTLINE * | srcline, | |
inT16 | tail_index, | |||
inT16 | startindex, | |||
inT32 | length, | |||
inT16 | chop_coord, | |||
float | pitch_error, | |||
ICOORD * | tail_pos | |||
) |
inT16 next_clock_right_seg | ( | C_OUTLINE * | srcline, | |
inT16 | tail_index, | |||
inT16 | startindex, | |||
inT32 | length, | |||
inT16 | chop_coord, | |||
float | pitch_error, | |||
ICOORD * | tail_pos | |||
) |
void save_chop_cfragment | ( | inT16 | head_index, | |
ICOORD | head_pos, | |||
inT16 | tail_index, | |||
ICOORD | tail_pos, | |||
C_OUTLINE * | srcline, | |||
C_OUTLINE_FRAG_LIST * | frags | |||
) |
void split_to_blob | ( | BLOBNBOX * | blob, | |
inT16 | chop_coord, | |||
float | pitch_error, | |||
C_OUTLINE_LIST * | left_coutlines, | |||
C_OUTLINE_LIST * | right_coutlines | |||
) |
EXTERN int textord_fp_chop_error = 2 |
"Max allowed bending of chop cells"
EXTERN double textord_fp_chop_snap = 0.5 |
"Max distance of chop pt from vertex"