Public Types | |
| typedef short unsigned int | result |
Static Public Member Functions | |
| static result | line_part (const PageLine &l, const PageFragment &f) |
Static Public Attributes | |
| static const result | is_part = 0 |
| static const result | was_part = 1 |
| static const result | not_part = 2 |
| typedef short unsigned int textoutput::SimpleLineEngine::LinePart::result |
| SimpleLineEngine::LinePart::result textoutput::SimpleLineEngine::LinePart::line_part | ( | const PageLine & | l, | |
| const PageFragment & | f | |||
| ) | [static] |
Decide whether word is part of this line.
References textoutput::PageFragment::bbox(), textoutput::PageLine::bbox(), is_part, _JM_NAMESPACE::max(), _JM_NAMESPACE::min(), not_part, _JM_NAMESPACE::rectangle_intersect(), and was_part.
Referenced by textoutput::SimpleLineEngine::operator()().
const result textoutput::SimpleLineEngine::LinePart::is_part = 0 [static] |
Referenced by line_part(), and textoutput::SimpleLineEngine::operator()().
const result textoutput::SimpleLineEngine::LinePart::not_part = 2 [static] |
Referenced by line_part(), and textoutput::SimpleLineEngine::operator()().
const result textoutput::SimpleLineEngine::LinePart::was_part = 1 [static] |
Referenced by line_part(), and textoutput::SimpleLineEngine::operator()().