00001
00020 #ifndef UNDERLIN_H
00021 #define UNDERLIN_H
00022
00023 #include "fpchop.h"
00024 #include "notdll.h"
00025
00036 extern double_VAR_H (textord_underline_offset, 0.1,
00037 "Fraction of x to ignore");
00038 extern BOOL_VAR_H (textord_restore_underlines, FALSE,
00039 "Chop underlines & put back");
00042 void restore_underlined_blobs(
00043 TO_BLOCK *block
00044 );
00045 TO_ROW *most_overlapping_row(
00046 TO_ROW_LIST *rows,
00047 BLOBNBOX *blob
00048 );
00049 void find_underlined_blobs(
00050 BLOBNBOX *u_line,
00051 QSPLINE *baseline,
00052 float xheight,
00053 float baseline_offset,
00054 ICOORDELT_LIST *chop_cells
00055 );
00056 void vertical_cunderline_projection(
00057 C_OUTLINE *outline,
00058 QSPLINE *baseline,
00059 float xheight,
00060 float baseline_offset,
00061 STATS *lower_proj,
00062 STATS *middle_proj,
00063 STATS *upper_proj
00064 );
00065 #endif