* Gets the block orientation at the current iterator position. */
| 1300 | * Gets the block orientation at the current iterator position. |
| 1301 | */ |
| 1302 | static tesseract::Orientation GetBlockTextOrientation(const PageIterator *it) { |
| 1303 | tesseract::Orientation orientation; |
| 1304 | tesseract::WritingDirection writing_direction; |
| 1305 | tesseract::TextlineOrder textline_order; |
| 1306 | float deskew_angle; |
| 1307 | it->Orientation(&orientation, &writing_direction, &textline_order, |
| 1308 | &deskew_angle); |
| 1309 | return orientation; |
| 1310 | } |
| 1311 | |
| 1312 | /** |
| 1313 | * Fits a line to the baseline at the given level, and appends its coefficients |
no test coverage detected