ARB
|
#include <aw_position.hxx>
Public Member Functions | |
Rectangle (const LineVector &Diagonal) | |
Rectangle (const Position &corner, const Position &opposite_corner) | |
Rectangle (const Position &corner, const Vector &to_opposite_corner) | |
Rectangle (double X1, double Y1, double X2, double Y2) | |
Rectangle (const AW_screen_area &r, AW_screen_area_conversion_mode mode) | |
Rectangle (const AW_world &r) | |
Rectangle () | |
const Vector & | diagonal () const |
const Position & | upper_left_corner () const |
Position | lower_left_corner () const |
Position | upper_right_corner () const |
Position | lower_right_corner () const |
Position | get_corner (int i) const |
Position | nearest_corner (const Position &topos) const |
double | left () const |
double | top () const |
double | right () const |
double | bottom () const |
double | width () const |
double | height () const |
LineVector | upper_edge () const |
LineVector | left_edge () const |
LineVector | lower_edge () const |
LineVector | right_edge () const |
LineVector | horizontal_extent () const |
LineVector | vertical_extent () const |
LineVector | bigger_extent () const |
LineVector | smaller_extent () const |
void | standardize () |
bool | contains (const Position &pos) const |
bool | contains (const LineVector &lvec) const |
bool | distinct_from (const Rectangle &rect) const |
bool | overlaps_with (const Rectangle &rect) const |
Rectangle | intersect_with (const Rectangle &rect) const |
Rectangle | bounding_box (const Rectangle &rect) const |
Rectangle | bounding_box (const Position &pos) const |
double | surface () const |
Public Member Functions inherited from AW::LineVector | |
bool | valid () const |
LineVector (const Position &startpos, const Position &end) | |
LineVector (const Position &startpos, const Vector &to_end) | |
LineVector (double X1, double Y1, double X2, double Y2) | |
LineVector (const AW_screen_area &r, AW_screen_area_conversion_mode mode) | |
LineVector (const AW_world &r) | |
LineVector () | |
const Vector & | line_vector () const |
const Position & | start () const |
Position | head () const |
Position | centroid () const |
double | length () const |
bool | has_length () const |
const double & | xpos () const |
const double & | ypos () const |
void | move (const Vector &movement) |
void | moveTo (const Position &pos) |
LineVector | reverse () const |
Additional Inherited Members | |
Protected Member Functions inherited from AW::LineVector | |
void | standardize () |
Definition at line 337 of file aw_position.hxx.
|
inlineexplicit |
Definition at line 339 of file aw_position.hxx.
References standardize().
Definition at line 340 of file aw_position.hxx.
References standardize().
Definition at line 341 of file aw_position.hxx.
References standardize().
|
inline |
Definition at line 342 of file aw_position.hxx.
References standardize().
|
inlineexplicit |
Definition at line 343 of file aw_position.hxx.
References standardize().
|
inlineexplicit |
Definition at line 344 of file aw_position.hxx.
References standardize().
|
inline |
Definition at line 345 of file aw_position.hxx.
Referenced by bounding_box(), and intersect_with().
|
inline |
Definition at line 347 of file aw_position.hxx.
References AW::LineVector::line_vector().
Referenced by add_border_to_drawsize(), SlaveCanvas_internal::calc_best_scroll_delta(), ED4_bracket_terminal::draw(), height(), width(), and AWT_canvas::zoom().
|
inline |
Definition at line 349 of file aw_position.hxx.
References AW::LineVector::start().
Referenced by add_border_to_drawsize(), bounding_box(), SlaveCanvas_internal::calc_best_area(), SlaveCanvas_internal::calc_best_scroll_delta(), canvas_to_xfig(), contains(), ED4_bracket_terminal::draw(), get_corner(), intersect_with(), left(), rect_corner(), ED4_window::scroll_rectangle(), and top().
|
inline |
Definition at line 350 of file aw_position.hxx.
References AW::LineVector::line_vector(), AW::LineVector::start(), AW::LineVector::xpos(), y, and AW::LineVector::ypos().
Referenced by get_corner(), and rect_corner().
|
inline |
Definition at line 351 of file aw_position.hxx.
References AW::LineVector::line_vector(), AW::LineVector::start(), AW::LineVector::xpos(), and AW::LineVector::ypos().
Referenced by get_corner(), and rect_corner().
|
inline |
Definition at line 352 of file aw_position.hxx.
References AW::LineVector::head().
Referenced by add_border_to_drawsize(), bottom(), bounding_box(), canvas_to_xfig(), contains(), get_corner(), intersect_with(), rect_corner(), right(), and ED4_window::scroll_rectangle().
Definition at line 354 of file aw_position.hxx.
References lower_left_corner(), lower_right_corner(), upper_left_corner(), and upper_right_corner().
Definition at line 67 of file AW_position.cxx.
|
inline |
Definition at line 364 of file aw_position.hxx.
References upper_left_corner(), and AW::Position::xpos().
Referenced by ED4_base::adjust_clipping_rectangle(), ED4_scrolled_rectangle::create_folding_lines(), distinct_from(), GEN_jump_cb(), and cmp_Rectangles::operator()().
|
inline |
Definition at line 365 of file aw_position.hxx.
References upper_left_corner(), and AW::Position::ypos().
Referenced by ED4_base::adjust_clipping_rectangle(), ED4_scrolled_rectangle::create_folding_lines(), distinct_from(), GEN_jump_cb(), and cmp_Rectangles::operator()().
|
inline |
Definition at line 366 of file aw_position.hxx.
References lower_right_corner(), and AW::Position::xpos().
Referenced by ED4_base::adjust_clipping_rectangle(), ED4_scrolled_rectangle::calc_bottomRight_folding_dimensions(), ED4_scrolled_rectangle::create_folding_lines(), distinct_from(), GEN_jump_cb(), cmp_Rectangles::operator()(), and ED4_scrolled_rectangle::right().
|
inline |
Definition at line 367 of file aw_position.hxx.
References lower_right_corner(), and AW::Position::ypos().
Referenced by ED4_base::adjust_clipping_rectangle(), ED4_scrolled_rectangle::bottom(), ED4_scrolled_rectangle::calc_bottomRight_folding_dimensions(), ED4_scrolled_rectangle::create_folding_lines(), distinct_from(), GEN_jump_cb(), and cmp_Rectangles::operator()().
|
inline |
Definition at line 369 of file aw_position.hxx.
References diagonal(), and AW::Vector::x().
Referenced by awt_print_tree_check_size(), bigger_extent(), SlaveCanvas_internal::calc_best_scroll_delta(), canvas_to_xfig(), AW_device::circle(), horizontal_extent(), scrollHalfPage(), smaller_extent(), surface(), and AWT_canvas::zoom().
|
inline |
Definition at line 370 of file aw_position.hxx.
References diagonal(), and AW::Vector::y().
Referenced by awt_print_tree_check_size(), bigger_extent(), SlaveCanvas_internal::calc_best_scroll_delta(), canvas_to_xfig(), AW_device::circle(), FlagLayout::FlagLayout(), scrollHalfPage(), smaller_extent(), surface(), vertical_extent(), and AWT_canvas::zoom().
|
inline |
Definition at line 372 of file aw_position.hxx.
References AW::LineVector::line_vector(), AW::LineVector::LineVector(), and AW::LineVector::start().
Referenced by AW_device::generic_box(), and vertical_extent().
|
inline |
Definition at line 373 of file aw_position.hxx.
References AW::LineVector::line_vector(), AW::LineVector::LineVector(), AW::LineVector::start(), and y.
Referenced by FlagLayout::FlagLayout(), AW_device::generic_box(), and horizontal_extent().
|
inline |
Definition at line 374 of file aw_position.hxx.
References AW::LineVector::head(), AW::LineVector::line_vector(), and AW::LineVector::LineVector().
Referenced by AW_device::generic_box().
|
inline |
Definition at line 375 of file aw_position.hxx.
References AW::LineVector::head(), AW::LineVector::line_vector(), AW::LineVector::LineVector(), and y.
Referenced by AW_device::generic_box().
|
inline |
Definition at line 377 of file aw_position.hxx.
References AW::LineVector::centroid(), left_edge(), AW::LineVector::LineVector(), and width().
Referenced by bigger_extent(), and smaller_extent().
|
inline |
Definition at line 378 of file aw_position.hxx.
References AW::LineVector::centroid(), height(), AW::LineVector::LineVector(), and upper_edge().
Referenced by bigger_extent(), and smaller_extent().
|
inline |
Definition at line 380 of file aw_position.hxx.
References height(), horizontal_extent(), vertical_extent(), and width().
|
inline |
Definition at line 381 of file aw_position.hxx.
References height(), horizontal_extent(), vertical_extent(), and width().
|
inline |
Definition at line 383 of file aw_position.hxx.
References AW::LineVector::standardize().
Referenced by Rectangle().
|
inline |
Definition at line 385 of file aw_position.hxx.
References AW::Position::is_between(), lower_right_corner(), and upper_left_corner().
|
inline |
Definition at line 386 of file aw_position.hxx.
References contains(), AW::LineVector::head(), and AW::LineVector::start().
Referenced by contains().
|
inline |
Definition at line 388 of file aw_position.hxx.
References bottom(), left(), right(), and top().
Referenced by AW_clipable::box_clip(), and overlaps_with().
|
inline |
Definition at line 396 of file aw_position.hxx.
References distinct_from().
Referenced by SlaveCanvas_internal::calc_best_area(), intersect_with(), and AW_clipable::is_outside_clip().
Definition at line 398 of file aw_position.hxx.
References aw_assert, lower_right_corner(), overlaps_with(), Rectangle(), and upper_left_corner().
Referenced by AW_clipable::box_clip().
Definition at line 404 of file aw_position.hxx.
References lower_right_corner(), Rectangle(), and upper_left_corner().
Referenced by AW::bounding_box(), SlaveCanvas_internal::calc_best_area(), and AW_device_size::get_size_information_inclusive_text().
Definition at line 408 of file aw_position.hxx.
References lower_right_corner(), Rectangle(), and upper_left_corner().
|
inline |
Definition at line 413 of file aw_position.hxx.