50 void set_sides(ICOORDELT_LIST *left, ICOORDELT_LIST *right);
61 bottom_left = box.botleft();
62 top_right = box.topright();
67 int index()
const {
return index_; }
74 void move(
const ICOORD vec);
82#ifndef GRAPHICS_DISABLED
121 return left_it.cycled_list() && right_it.cycled_list();
130 bleft =
ICOORD (left_it.data ()->x (), ymin);
132 tright =
ICOORD (right_it.data ()->x (), ymax);
138 PDBLK* block =
nullptr;
139 ICOORDELT_IT left_it;
140 ICOORDELT_IT right_it;
159 rect_it.set_to_block (blkptr);
165 int16_t get_line(int16_t y,
#define CLISTIZEH(CLASSNAME)
BLOCK & operator=(const BLOCK &source)
Pix * render_mask(TBOX *mask_box)
void bounding_box(ICOORD &bottom_left, ICOORD &top_right) const
get box
POLY_BLOCK * hand_poly
weird as well
void set_poly_block(POLY_BLOCK *blk)
set the poly block
void set_index(int value)
ICOORDELT_LIST rightside
right side vertices
int index_
Serial number of this block.
POLY_BLOCK * poly_block() const
const TBOX & bounding_box() const
get real box
ICOORDELT_LIST leftside
left side vertices
void bounding_box(ICOORD &bleft, ICOORD &tright)
bool cycled_rects()
test end
BLOCK_LINE_IT(PDBLK *blkptr)
void set_to_block(PDBLK *blkptr)