INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: ""
project: "Visual Eiffel"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: dm
class DM_RECT
inherit

WAPI_RECT
redefine
is_equal
end

DM_WAPI_SERVER
redefine
is_equal
end
creation

make,
make_from_client_rect,
make_from_points,
make_from_window_rect,
make_ltrb,
make_xywh
feature

make

make_xywh (x, y, w, h: INTEGER)

make_ltrb (l, t, r, b: INTEGER)

make_from_points (p1, p2: DM_POINT)

make_from_client_rect (hwnd: INTEGER)

make_from_window_rect (hwnd: INTEGER)

is_equal (other: like Current): BOOLEAN
feature -- util

width: INTEGER

height: INTEGER

size: DM_RECT

center: DM_POINT

set_null

is_null: BOOLEAN

set_empty

is_empty: BOOLEAN

normalize

inflate (dx, dy: INTEGER)

deflate (dx, dy: INTEGER)

move_at (dx, dy: INTEGER)

move_to (x, y: INTEGER)

resize_at (w, h: INTEGER)

resize_to (dx, dy: INTEGER)

intersect (r: DM_RECT)

union (r: DM_RECT)

subtract (r: DM_RECT)

to_group (r: DM_RECT)

from_group (r: DM_RECT)

has_point (x, y: INTEGER): BOOLEAN

inside_bounds (x, y: INTEGER): BOOLEAN

distance (pnt: DM_POINT): REAL
-- shortest distance from point edge rectangle

top_left: DM_POINT

top_right: DM_POINT

bottom_left: DM_POINT

bottom_right: DM_POINT
end -- class DM_RECT

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES