Home
last modified time | relevance | path

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

/external/tesseract/textord/
Dtopitch.cpp1405 inT16 cellpos; //previous cell boundary in compute_pitch_sd() local
1424 cellpos = 0; in compute_pitch_sd()
1495 if (cell_it.empty () || segpos > cellpos + initial_pitch / 2) { in compute_pitch_sd()
1497 while (!cell_it.empty () && segpos > cellpos + initial_pitch * 3 / 2) { in compute_pitch_sd()
1498 cell = new ICOORDELT (cellpos + (inT16) initial_pitch, 0); in compute_pitch_sd()
1500 cellpos += (inT16) initial_pitch; in compute_pitch_sd()
1505 cellpos = segpos; in compute_pitch_sd()
1507 else if (segpos > cellpos - initial_pitch / 2) { in compute_pitch_sd()
1510 cell->set_x ((cellpos + segpos) / 2); in compute_pitch_sd()
1511 cellpos = cell->x (); in compute_pitch_sd()