51 void set_sides(ICOORDELT_LIST *left, ICOORDELT_LIST *right);
62 bottom_left = box.botleft();
63 top_right = box.topright();
68 int index()
const {
return index_; }
75 void move(
const ICOORD vec);
83 #ifndef GRAPHICS_DISABLED 89 #endif // GRAPHICS_DISABLED 122 return left_it.cycled_list() && right_it.cycled_list();
131 bleft =
ICOORD (left_it.data ()->x (), ymin);
133 tright =
ICOORD (right_it.data ()->x (), ymax);
160 rect_it.set_to_block (blkptr);
166 int16_t get_line(int16_t y,
POLY_BLOCK * hand_poly
Definition: pdblock.h:96
BLOCK_RECT_IT rect_it
Definition: pdblock.h:171
PDBLK * block
Definition: pdblock.h:139
POLY_BLOCK * poly_block() const
Definition: pdblock.h:56
page block
Definition: pdblock.h:32
bool cycled_rects()
test end
Definition: pdblock.h:121
void set_poly_block(POLY_BLOCK *blk)
set the poly block
Definition: pdblock.h:58
ICOORDELT_LIST rightside
Definition: pdblock.h:98
Definition: pdblock.h:103
rectangle iterator
Definition: pdblock.h:145
int index() const
Definition: pdblock.h:68
ICOORDELT_IT left_it
Definition: pdblock.h:140
Definition: ocrblock.h:30
PDBLK()
empty constructor
Definition: pdblock.h:38
const TBOX & bounding_box() const
get real box
Definition: pdblock.h:66
int16_t ymax
Definition: pdblock.h:138
void set_index(int value)
Definition: pdblock.h:69
int index_
Definition: pdblock.h:100
ICOORDELT_LIST leftside
Definition: pdblock.h:97
Pix * render_mask(TBOX *mask_box)
Definition: ocrblock.h:162
integer coordinate
Definition: points.h:32
~PDBLK()
destructor
Definition: pdblock.h:54
int16_t ymin
Definition: pdblock.h:137
BLOCK_LINE_IT(PDBLK *blkptr)
Definition: pdblock.h:150
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box
Definition: pdblock.h:60
ICOORDELT_IT right_it
Definition: pdblock.h:141
TBOX box
Definition: pdblock.h:99
BLOCK & operator=(const BLOCK &source)
Definition: ocrblock.cpp:226
void bounding_box(ICOORD &bleft, ICOORD &tright)
Definition: pdblock.h:128
PDBLK * block
Definition: pdblock.h:170
void set_to_block(PDBLK *blkptr)
Definition: pdblock.h:157