Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release > by-pkgid > 3d21bba46faba8ab8bc0569a35594b3e > files > 32

ocaml-gg-devel-0.8.0-6.mga6.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Gg.M4.html">
<link rel="next" href="Gg.Size3.html">
<link rel="Up" href="Gg.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Gg" rel="Chapter" href="Gg.html"><link title=" " rel="Section" href="#top">
<link title="Constructors, accessors and constants" rel="Section" href="#cons">
<title>Gg.Size2</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Gg.M4.html" title="Gg.M4">Previous</a>
&nbsp;<a class="up" href="Gg.html" title="Gg">Up</a>
&nbsp;<a class="post" href="Gg.Size3.html" title="Gg.Size3">Next</a>
</div>
<h1>Module <a href="type_Gg.Size2.html">Gg.Size2</a></h1>
<pre><span class="keyword">module</span> Size2: <code class="code"><span class="keyword">sig</span></code> <a href="Gg.Size2.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><hr width="100%">
<br>
In 2D space, <em>width</em> is the extent along the x-axis and 
    <em>height</em> the extent along the y-axis.
<p>

    <h1 id="top"> </h1><br>
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> = <code class="type"><a href="Gg.html#TYPEsize2">Gg.size2</a></code> </pre>
<div class="info">
The type for 2D sizes.<br>
</div>

<pre><span id="VALdim"><span class="keyword">val</span> dim</span> : <code class="type">int</code></pre><div class="info">
<code class="code">dim</code> is the dimension of sizes of type <a href="Gg.html#TYPEsize2"><code class="code"><span class="constructor">Gg</span>.size2</code></a>.<br>
</div>
<br>
<h1 id="cons">Constructors, accessors and constants</h1><br>
<pre><span id="VALv"><span class="keyword">val</span> v</span> : <code class="type">float -> float -> <a href="Gg.html#TYPEsize2">Gg.size2</a></code></pre><div class="info">
<code class="code">v w h</code> is a size of width <code class="code">w</code> and height <code class="code">h</code>.<br>
</div>
<pre><span id="VALw"><span class="keyword">val</span> w</span> : <code class="type"><a href="Gg.html#TYPEsize2">Gg.size2</a> -> float</code></pre><div class="info">
<code class="code">w s</code> is the width of <code class="code">s</code>.<br>
</div>
<pre><span id="VALh"><span class="keyword">val</span> h</span> : <code class="type"><a href="Gg.html#TYPEsize2">Gg.size2</a> -> float</code></pre><div class="info">
<code class="code">h s</code> is the height of <code class="code">s</code>.<br>
</div>
<pre><span id="VALzero"><span class="keyword">val</span> zero</span> : <code class="type"><a href="Gg.html#TYPEsize2">Gg.size2</a></code></pre><div class="info">
<code class="code">zero</code> is the zero size, zero width and height.<br>
</div>
<pre><span id="VALunit"><span class="keyword">val</span> unit</span> : <code class="type"><a href="Gg.html#TYPEsize2">Gg.size2</a></code></pre><div class="info">
<code class="code">unit</code> is the unit size, one width and height.<br>
</div>
</body></html>