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