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 -> bool 20 val InflateRect : RECT * int * int -> unit * RECT 21 val IntersectRect : RECT * RECT -> bool * RECT 22 val IsRectEmpty : RECT -> bool 23 val OffsetRect : RECT * int * int -> RECT 24 val PtInRect : RECT * POINT -> bool 25 val SetRect : int * int * int * int -> RECT 26 val SetRectEmpty : unit -> RECT 27 val SubtractRect : RECT * RECT -> RECT 28 val UnionRect : RECT * RECT -> RECT 29 end</pre> 30</body> 31</html> 32