Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 82a8be034ef45778a36e24db776f17cb > files > 60

polyml-doc-5.4.1-1.fc14.noarch.rpm

<!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 -&gt; bool
    val InflateRect : RECT * int * int -&gt; unit * RECT
    val IntersectRect : RECT * RECT -&gt; bool * RECT
    val IsRectEmpty : RECT -&gt; bool
    val OffsetRect : RECT * int * int -&gt; RECT
    val PtInRect : RECT * POINT -&gt; bool
    val SetRect : int * int * int * int -&gt; RECT
    val SetRectEmpty : unit -&gt; RECT
    val SubtractRect : RECT * RECT -&gt; RECT
    val UnionRect : RECT * RECT -&gt; RECT
  end</pre>
</body>
</html>