50 void set_sides(ICOORDELT_LIST *left, ICOORDELT_LIST *right);
53 ~
PDBLK() {
delete hand_poly; }
55 POLY_BLOCK *poly_block()
const {
return hand_poly; }
57 void set_poly_block(
POLY_BLOCK *blk) { hand_poly = blk; }
59 void bounding_box(
ICOORD &bottom_left,
61 bottom_left = box.botleft();
62 top_right = box.topright();
65 const TBOX &bounding_box()
const {
return box; }
67 int index()
const {
return index_; }
68 void set_index(
int value) { index_ = value; }
74 void move(
const ICOORD vec);
82 #ifndef GRAPHICS_DISABLED
88 #endif // GRAPHICS_DISABLED
96 ICOORDELT_LIST leftside;
97 ICOORDELT_LIST rightside;
120 bool cycled_rects() {
121 return left_it.cycled_list() && right_it.cycled_list();
127 void bounding_box(
ICOORD &bleft,
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;
156 void set_to_block (
PDBLK * blkptr) {
159 rect_it.set_to_block (blkptr);
165 int16_t get_line(int16_t y,