rectangle iterator
More...
#include <pdblock.h>
rectangle iterator
Definition at line 160 of file pdblock.h.
BLOCK_LINE_IT::BLOCK_LINE_IT |
( |
PDBLK * |
blkptr | ) |
|
|
inline |
constructor
- Parameters
-
Definition at line 165 of file pdblock.h.
get a line
- Parameters
-
y | line to get |
xext | output extent |
Definition at line 344 of file pdblock.cpp.
353 if (y < bleft.
y () || y >= tright.
y ()) {
361 if (y >= bleft.
y () && y < tright.
y ()) {
363 xext = tright.
x () - bleft.
x ();
370 if (y >= bleft.
y () && y < tright.
y ()) {
372 xext = tright.
x () - bleft.
x ();
void forward()
next rectangle
void bounding_box(ICOORD &bleft, ICOORD &tright)
BOOL8 cycled_rects()
test end
inT16 y() const
access_function
const ERRCODE BADBLOCKLINE
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box
const ERRCODE LOSTBLOCKLINE
void error(const char *caller, TessErrorLogCode action, const char *format,...) const
void start_block()
start iteration
inT16 x() const
access function
void BLOCK_LINE_IT::set_to_block |
( |
PDBLK * |
blkptr | ) |
|
|
inline |
start (new) block
- Parameters
-
Definition at line 172 of file pdblock.h.
void set_to_block(PDBLK *blkptr)
start (new) block
The documentation for this class was generated from the following files: