/usr/share/doc/mlpost/html/Mlpost.Shapes.html is in libmlpost-ocaml-doc 0.8.1-6build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <!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=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Mlpost.Command.html">
<link rel="next" href="Mlpost.Box.html">
<link rel="Up" href="Mlpost.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 class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.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="Mlpost" rel="Chapter" href="Mlpost.html">
<link title="Mlpost_dot" rel="Chapter" href="Mlpost_dot.html">
<link title="Mlpost_lablgtk" rel="Chapter" href="Mlpost_lablgtk.html"><title>Mlpost.Shapes</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Mlpost.Command.html" title="Mlpost.Command">Previous</a>
<a class="up" href="Mlpost.html" title="Mlpost">Up</a>
<a class="post" href="Mlpost.Box.html" title="Mlpost.Box">Next</a>
</div>
<h1>Module <a href="type_Mlpost.Shapes.html">Mlpost.Shapes</a></h1>
<pre><span class="keyword">module</span> Shapes: <code class="code">sig</code> <a href="Mlpost.Shapes.html">..</a> <code class="code">end</code></pre><div class="info module top">
Rectangles, Circles, etc.<br>
</div>
<hr width="100%">
<br>
Various Basic Geometric Shapes<br>
<pre><span id="VALround_rect"><span class="keyword">val</span> round_rect</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
<code class="code">round_rect w h rx ry</code> returns a rectangle of width <code class="code">w</code> and
height <code class="code">h</code> with rounded corners. The rounded corners are arcs
of an ellipse of radii <code class="code">rx</code> and <code class="code">ry</code>. <code class="code">rx</code> (resp. <code class="code">ry</code>) should
be positive and smaller than <code class="code">w/2</code> (resp. <code class="code">h/2</code>).<br>
</div>
<pre><span id="VALrectangle"><span class="keyword">val</span> rectangle</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
<code class="code">rectangle w h</code> returns a rectangle of width <code class="code">w</code> and height <code class="code">h</code>.<br>
</div>
<pre><span id="VALellipse"><span class="keyword">val</span> ellipse</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
<code class="code">ellipse rx ry</code> returns an ellipse of great axis <code class="code">rx</code> and small axis
<code class="code">ry</code>. The ellipse is centered on the origin and aligned with the x
axis.<br>
</div>
<pre><span id="VALcircle"><span class="keyword">val</span> circle</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre>
<pre><span id="VALpatatoid"><span class="keyword">val</span> patatoid</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
See <a href="Mlpost.Box.html#VALpatatoid"><code class="code">Box.patatoid</code></a>.<br>
</div>
<pre><span id="VALpatatoid2"><span class="keyword">val</span> patatoid2</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
See <a href="Mlpost.Box.html#VALpatatoid2"><code class="code">Box.patatoid2</code></a>.<br>
</div>
</body></html>
|