1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<title>Windows Interface Reference: Rectangle structure</title>
6</head>
7
8<body>
9
10<h1>Rectangle </h1>
11
12<p>The Rectangle structure contains functions to compute with rectangles.</p>
13
14<pre>structure Rectangle :
15  sig
16  	type POINT = { x: int, y: int }
17	type RECT = { top: int, left: int, bottom: int, right: int }
18
19    val EqualRect : RECT * RECT -&gt; bool
20    val InflateRect : RECT * int * int -&gt; unit * RECT
21    val IntersectRect : RECT * RECT -&gt; bool * RECT
22    val IsRectEmpty : RECT -&gt; bool
23    val OffsetRect : RECT * int * int -&gt; RECT
24    val PtInRect : RECT * POINT -&gt; bool
25    val SetRect : int * int * int * int -&gt; RECT
26    val SetRectEmpty : unit -&gt; RECT
27    val SubtractRect : RECT * RECT -&gt; RECT
28    val UnionRect : RECT * RECT -&gt; RECT
29  end</pre>
30</body>
31</html>
32