Home
last modified time | relevance | path

Searched refs:dotbox (Results 1 – 1 of 1) sorted by relevance

/external/tesseract/textord/
Dmakerow.cpp365 const TBOX& dotbox = dot->bounding_box(); in dot_of_i() local
368 int overlap = MIN(dotbox.right(), ibox.right()) - in dot_of_i()
369 MAX(dotbox.left(), ibox.left()); in dot_of_i()
370 if (ibox.height() <= 2 * dotbox.height() || in dot_of_i()
371 (overlap * 2 < ibox.width() && overlap < dotbox.width())) in dot_of_i()
382 double target_height = MIN(dotbox.bottom(), ibox.top()); in dot_of_i()
383 target_height -= row->line_m()*dotbox.left() + row->line_c(); in dot_of_i()
385 int left_min = dotbox.left() - dotbox.width(); in dot_of_i()
386 int middle = (dotbox.left() + dotbox.right())/2; in dot_of_i()
387 int right_max = dotbox.right() + dotbox.width(); in dot_of_i()