#include "params.h"
#include "pageres.h"
Go to the source code of this file.
◆ determine_newline_type()
char determine_newline_type |
( |
WERD * |
word, |
|
|
BLOCK * |
block, |
|
|
WERD * |
next_word, |
|
|
BLOCK * |
next_block |
|
) |
| |
test line ends
- Parameters
-
word | word to do |
block | current block |
next_word | next word |
next_block | block of next word |
Definition at line 245 of file output.cpp.
259 if (next_word == NULL || next_block == NULL || block != next_block)
261 if (next_word->
space () > 0)
267 end_gap = block_box.
right () - word_box.
right ();
269 width = next_box.
right () - next_box.
left ();
BOOL8 flag(WERD_FLAGS mask) const
inT16 space() const
return spacing
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box
TBOX bounding_box() const