class WEL_RECT General cluster: wel.structs description: "Defines the coordinates of the upper-left and lower-right corners of a rectangle." create: make_by_pointer, make_window, make_client, make Ancestors WEL_STRUCTURE Queries bottom: INTEGER empty: BOOLEAN exists: BOOLEAN height: INTEGER is_equal (other: [like Current] WEL_RECT): BOOLEAN item: POINTER left: INTEGER point_in (point: WEL_POINT): BOOLEAN right: INTEGER shared: BOOLEAN Structure_size: INTEGER to_integer: INTEGER top: INTEGER width: INTEGER x: INTEGER y: INTEGER Commands dispose inflate (a_x, a_y: INTEGER) initialize initialize_with_character (a_character: CHARACTER) intersect (rect1, rect2: WEL_RECT) memory_copy (source_pointer: POINTER; length: INTEGER) offset (a_x, a_y: INTEGER) set_bottom (a_bottom: INTEGER) set_item (an_item: POINTER) set_left (a_left: INTEGER) set_rect (a_left, a_top, a_right, a_bottom: INTEGER) set_right (a_right: INTEGER) set_shared set_top (a_top: INTEGER) set_unshared subtract (rect1, rect2: WEL_RECT) union (rect1, rect2: WEL_RECT) Constraints positive width positive height