| 146 | } |
| 147 | |
| 148 | void LTRResultIterator::RowAttributes(float* row_height, float* descenders, |
| 149 | float* ascenders) const { |
| 150 | *row_height = it_->row()->row->x_height() + it_->row()->row->ascenders() - |
| 151 | it_->row()->row->descenders(); |
| 152 | *descenders = it_->row()->row->descenders(); |
| 153 | *ascenders = it_->row()->row->ascenders(); |
| 154 | } |
| 155 | |
| 156 | // Returns the font attributes of the current word. If iterating at a higher |
| 157 | // level object than words, eg textlines, then this will return the |
no test coverage detected