• Home
  • Raw
  • Download

Lines Matching refs:top_right

32     bot_left (MAX_INT16, MAX_INT16), top_right (-MAX_INT16, -MAX_INT16) {  in TBOX()
50 return top_right.y (); in top()
53 top_right.set_y(y); in set_top()
71 return top_right.x (); in right()
74 top_right.set_x(x); in set_right()
82 return ICOORD (top_right.x (), bot_left.y ()); in botright()
86 return ICOORD (bot_left.x (), top_right.y ()); in topleft()
90 return top_right; in topright()
95 return top_right.y () - bot_left.y (); in height()
102 return top_right.x () - bot_left.x (); in width()
126 top_right += ICOORD (x, 0); in move_right_edge()
131 top_right += ICOORD (0, y); in move_top_edge()
137 top_right += vec; in move()
146 top_right.set_x ((inT16) ceil (top_right.x () + vec.x ())); in move()
148 top_right.set_y ((inT16) ceil (top_right.y () + vec.y ())); in move()
156 top_right.set_x ((inT16) ceil (top_right.x () * f)); // round right in scale()
157 top_right.set_y ((inT16) ceil (top_right.y () * f)); // round up in scale()
163 top_right.set_x ((inT16) ceil (top_right.x () * vec.x ())); in scale()
164 top_right.set_y ((inT16) ceil (top_right.y () * vec.y ())); in scale()
172 top_right.rotate (vec); in rotate()
173 *this = TBOX (bot_left, top_right); in rotate()
223 fd->Rectangle(bot_left.x (), bot_left.y (), top_right.x (), in plot()
224 top_right.y ()); in plot()
245 ICOORD top_right; //top right corner variable
257 top_right = ICOORD ((inT16) ceil (pt.x ()), (inT16) ceil (pt.y ())); in TBOX()
268 (pt.x () <= top_right.x ()) && in contains()
269 (pt.y () >= bot_left.y ()) && (pt.y () <= top_right.y ())); in contains()
279 return (contains (box.bot_left) && contains (box.top_right)); in contains()
290 return ((box.bot_left.x () <= top_right.x ()) && in overlap()
291 (box.top_right.x () >= bot_left.x ()) && in overlap()
292 (box.bot_left.y () <= top_right.y ()) && in overlap()
293 (box.top_right.y () >= bot_left.y ())); in overlap()
303 int overlap = MIN(box.top_right.x(), top_right.x()); in major_overlap()
308 overlap = MIN(box.top_right.y(), top_right.y()); in major_overlap()
335 return ((box.bot_left.x() <= top_right.x()) && in x_overlap()
336 (box.top_right.x() >= bot_left.x())); in x_overlap()
362 return ((box.bot_left.y() <= top_right.y()) && in y_overlap()
363 (box.top_right.y() >= bot_left.y())); in y_overlap()