This file is indexed.

/usr/share/doc/mlpost/html/Mlpost.Box.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
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<!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.Shapes.html">
<link rel="next" href="Mlpost.Arrow.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"><link title="Creating boxes" rel="Section" href="#2_Creatingboxes">
<link title="Special points on a box" rel="Section" href="#2_Specialpointsonabox">
<link title="Operators" rel="Section" href="#2_Operators">
<link title="Boxes alignment" rel="Section" href="#2_Boxesalignment">
<link title="Sub-boxes accessors" rel="Section" href="#2_Subboxesaccessors">
<link title="Specials Points" rel="Section" href="#2_SpecialsPoints">
<link title="Box properties" rel="Section" href="#2_Boxproperties">
<link title="Misc." rel="Section" href="#2_Misc">
<link title="Boxlike : An argument for functor of object that are similar to box" rel="Section" href="#2_BoxlikeAnargumentforfunctorofobjectthataresimilartobox">
<title>Mlpost.Box</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Mlpost.Shapes.html" title="Mlpost.Shapes">Previous</a>
&nbsp;<a class="up" href="Mlpost.html" title="Mlpost">Up</a>
&nbsp;<a class="post" href="Mlpost.Arrow.html" title="Mlpost.Arrow">Next</a>
</div>
<h1>Module <a href="type_Mlpost.Box.html">Mlpost.Box</a></h1>

<pre><span class="keyword">module</span> Box: <code class="code">sig</code> <a href="Mlpost.Box.html">..</a> <code class="code">end</code></pre><div class="info module top">
A Box is a rectangle with some content and a (not necessarily rectangular)
    frame. Boxes can be placed, aligned and modified.<br>
</div>
<hr width="100%">
<br>
Boxes<br>

<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>
<div class="info ">
The abstract type of boxes<br>
</div>

<br>
<h2 id="2_Creatingboxes">Creating boxes</h2><br>

<pre><code><span id="TYPEstyle"><span class="keyword">type</span> <code class="type"></code>style</span> = </code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstyle.Rect"><span class="constructor">Rect</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstyle.Circle"><span class="constructor">Circle</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstyle.RoundRect"><span class="constructor">RoundRect</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstyle.Patatoid"><span class="constructor">Patatoid</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstyle.Patatoid2"><span class="constructor">Patatoid2</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstyle.Ellipse"><span class="constructor">Ellipse</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstyle.RoundBox"><span class="constructor">RoundBox</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstyle.Custom"><span class="constructor">Custom</span></span> <span class="keyword">of</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></code></td>

</tr></table>



<pre><span id="TYPEbox_creator"><span class="keyword">type</span> <code class="type">'a</code> box_creator</span> = <code class="type">?dx:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?dy:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?name:string -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -> ?fill:<a href="Mlpost.Color.html#TYPEt">Color.t</a> -> 'a -> <a href="Mlpost.Box.html#TYPEt">t</a></code> </pre>
<div class="info ">
All functions used to create boxes take the following optional
	parameters : <code class="code">dx</code> (resp. <code class="code">dy</code>) is the horizontal
	(resp. vertical) padding between the box border and its
	contents ; <code class="code">name</code>, if present, is associated with the box and
	can be used to retrieve it using <code class="code">get</code> ; <code class="code">stroke</code> is the color
	used to draw the outline of the box ; when equal to <code class="code">None</code>,
	the outline will not be drawn ; <code class="code">pen</code> is the pen used to draw
	the box's outline, if absent <code class="code">Brush.Pen.default</code> is used ;
	<code class="code">fill</code>, if present, is the color used to fill the box.<br>
</div>


<pre><span id="VALempty"><span class="keyword">val</span> empty</span> : <code class="type">?width:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?height:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -><br>       ?name:string -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -> ?fill:<a href="Mlpost.Color.html#TYPEt">Color.t</a> -> unit -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
the empty box<br>
</div>

<pre><span id="VALempty_from_box"><span class="keyword">val</span> empty_from_box</span> : <code class="type">?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -><br>       ?name:string -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -> ?fill:<a href="Mlpost.Color.html#TYPEt">Color.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
the empty box with the same position and dimension as the box<br>
</div>

<pre><span id="VALpic"><span class="keyword">val</span> pic</span> : <code class="type">?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -> <a href="Mlpost.Picture.html#TYPEt">Picture.t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">pic p</code> creates a new box containing the picture <code class="code">p</code><br>
</div>

<pre><span id="VALpath"><span class="keyword">val</span> path</span> : <code class="type">?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">path p</code> creates a new box containing the path <code class="code">p</code><br>
</div>

<pre><span id="VALtex"><span class="keyword">val</span> tex</span> : <code class="type">?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -> string <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">tex s</code> creates a new box containing the LaTeX string <code class="code">s</code><br>
<img alt="tex.png" src="img/tex.png"/></div>

<pre><span id="VALbox"><span class="keyword">val</span> box</span> : <code class="type">?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">box b</code> creates a new box containing the box <code class="code">b</code><br>
</div>

<pre><span id="VALcircle"><span class="keyword">val</span> circle</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">circle pic</code> creates a circle box containing the picture
    <code class="code">pic</code>. Optional padding is given by arguments <code class="code">dx</code> and <code class="code">dy</code>;
    default is 2bp.<br>
<img alt="circle.png" src="img/circle.png"/></div>

<pre><span id="VALellipse"><span class="keyword">val</span> ellipse</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">ellipse pic</code> creates a elliptic box containing the picture
	<code class="code">pic</code>. Optional padding is given by arguments <code class="code">dx</code> and <code class="code">dy</code>;
	default is 2bp<br>
<img alt="ellipse.png" src="img/ellipse.png"/></div>

<pre><span id="VALrect"><span class="keyword">val</span> rect</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">rect pic</code> creates a rectangular box containing the picture
	<code class="code">pic</code>. Optional padding is given by arguments <code class="code">dx</code> and <code class="code">dy</code>;
	default is 2bp.<br>
<img alt="rect.png" src="img/rect.png"/></div>

<pre><span id="VALround_rect"><span class="keyword">val</span> round_rect</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">round_rect pic</code> creates a rectangular box containing the picture
	<code class="code">pic</code>, with rounded corners. Optional padding is given by <code class="code">dx</code>
	and <code class="code">dy</code>; default is 2bp<br>
<img alt="round_rect.png" src="img/round_rect.png"/></div>

<pre><span id="VALpatatoid"><span class="keyword">val</span> patatoid</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">patatoid pic</code> creates an undefined, vaguely rectangular box
	containing the picture <code class="code">pic</code>. It may happen that the content
	overlaps with the box.<br>
<img alt="patatoid.png" src="img/patatoid.png"/></div>

<pre><span id="VALpatatoid2"><span class="keyword">val</span> patatoid2</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">patatoid2 pic</code> creates an undefined, vaguely rectangular box
	containing the picture <code class="code">pic</code>, which is guaranteed to be fully
        contained in the patatoid.<br>
</div>

<pre><span id="VALround_box"><span class="keyword">val</span> round_box</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre>
<pre><span id="VALbpath"><span class="keyword">val</span> bpath</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
Get the bounding path of a box<br>
</div>
<br>
<h2 id="2_Specialpointsonabox">Special points on a box</h2><br>

<pre><span id="VALctr"><span class="keyword">val</span> ctr</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="ctr.png" src="img/ctr.png"/></div>

<pre><span id="VALnorth"><span class="keyword">val</span> north</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="north.png" src="img/north.png"/></div>

<pre><span id="VALsouth"><span class="keyword">val</span> south</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="south.png" src="img/south.png"/></div>

<pre><span id="VALwest"><span class="keyword">val</span> west</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="west.png" src="img/west.png"/></div>

<pre><span id="VALeast"><span class="keyword">val</span> east</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="east.png" src="img/east.png"/></div>

<pre><span id="VALnorth_west"><span class="keyword">val</span> north_west</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="north_west.png" src="img/north_west.png"/></div>

<pre><span id="VALsouth_west"><span class="keyword">val</span> south_west</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="south_west.png" src="img/south_west.png"/></div>

<pre><span id="VALnorth_east"><span class="keyword">val</span> north_east</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="north_east.png" src="img/north_east.png"/></div>

<pre><span id="VALsouth_east"><span class="keyword">val</span> south_east</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre><div class="info ">
<img alt="south_east.png" src="img/south_east.png"/></div>

<pre><span id="TYPEvposition"><span class="keyword">type</span> <code class="type"></code>vposition</span> = <code class="type">[ `Bot<br>       | `Bottom<br>       | `Center<br>       | `Custom of <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a><br>       | `North<br>       | `South<br>       | `Top ]</code> </pre>


<pre><span id="TYPEhposition"><span class="keyword">type</span> <code class="type"></code>hposition</span> = <code class="type">[ `Center<br>       | `Custom of <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a><br>       | `East<br>       | `Left<br>       | `Right<br>       | `West ]</code> </pre>


<pre><span id="TYPEposition"><span class="keyword">type</span> <code class="type"></code>position</span> = <code class="type">[ `Bot<br>       | `Bottom<br>       | `Bottomleft<br>       | `Bottomright<br>       | `Center<br>       | `Custom of <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a><br>       | `East<br>       | `Left<br>       | `Lowerleft<br>       | `Lowerright<br>       | `Lowleft<br>       | `Lowright<br>       | `North<br>       | `Northeast<br>       | `Northwest<br>       | `Right<br>       | `South<br>       | `Southeast<br>       | `Southwest<br>       | `Top<br>       | `Topleft<br>       | `Topright<br>       | `Upleft<br>       | `Upperleft<br>       | `Upperright<br>       | `Upright<br>       | `West ]</code> </pre>


<pre><span id="VALcorner"><span class="keyword">val</span> corner</span> : <code class="type"><a href="Mlpost.Box.html#TYPEposition">position</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre>
<pre><span id="VALopposite_position"><span class="keyword">val</span> opposite_position</span> : <code class="type"><a href="Mlpost.Box.html#TYPEposition">position</a> -> <a href="Mlpost.Box.html#TYPEposition">position</a></code></pre><div class="info ">
Return the opposite position of a position (west for east, southeast
        for northwest, center for center, ...).<br>
</div>
<br>
<h2 id="2_Operators">Operators</h2><br>

<pre><span id="VALheight"><span class="keyword">val</span> height</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a></code></pre><div class="info ">
return the height of the box<br>
<img alt="height.png" src="img/height.png"/></div>

<pre><span id="VALwidth"><span class="keyword">val</span> width</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a></code></pre><div class="info ">
return the width of the box<br>
<img alt="width.png" src="img/width.png"/></div>

<pre><span id="VALshift"><span class="keyword">val</span> shift</span> : <code class="type"><a href="Mlpost.Point.html#TYPEt">Point.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">shift pt x</code> shifts the box <code class="code">x</code> about the point <code class="code">pt</code><br>
<img alt="shift.png" src="img/shift.png"/></div>

<pre><span id="VALcenter"><span class="keyword">val</span> center</span> : <code class="type"><a href="Mlpost.Point.html#TYPEt">Point.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">center pt x</code> centers the box <code class="code">x</code> at the point <code class="code">pt</code><br>
<img alt="center.png" src="img/center.png"/></div>

<pre><span id="VALdraw"><span class="keyword">val</span> draw</span> : <code class="type">?debug:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Command.html#TYPEt">Command.t</a></code></pre><div class="info ">
Draws a box<br>
</div>
<div class="param_info"><code class="code">debug</code> : if set to to true, the bounding
	path and the center of the box are drawn as well, default is false</div>

<pre><span id="VALgroup"><span class="keyword">val</span> group</span> : <code class="type">?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> list <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
<code class="code">group bl</code> groups a list of boxes <code class="code">bl</code> into a single box<br>
</div>
<br>
<h2 id="2_Boxesalignment">Boxes alignment</h2><br>

<pre><span id="VALhalign"><span class="keyword">val</span> halign</span> : <code class="type">?pos:<a href="Mlpost.Box.html#TYPEvposition">vposition</a> -><br>       <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre><div class="info ">
<code class="code">halign ~pos y l</code> vertically moves the boxes in <code class="code">l</code> such that
        the vertical position given by <code class="code">pos</code> is equal to <code class="code">y</code>. The default
        value of <code class="code">pos</code> is `Center, so by default this function moves each
        box such that the y coordinate of its center is <code class="code">y</code>. The
        horizontal position of each box is unchanged.<br>
<img alt="halign.png" src="img/halign.png"/></div>

<pre><span id="VALvalign"><span class="keyword">val</span> valign</span> : <code class="type">?pos:<a href="Mlpost.Box.html#TYPEhposition">hposition</a> -><br>       <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre><div class="info ">
the vertical counterpart of <code class="code">valign</code>.<br>
</div>

<pre><span id="VALhplace"><span class="keyword">val</span> hplace</span> : <code class="type">?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Box.html#TYPEposition">position</a> -><br>       ?min_width:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?same_width:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre><div class="info ">
<code class="code">hplace l</code> places the boxes of <code class="code">l</code> horizontally, from left to right
       following the order of list elements, without changing their vertical
       position.<br>
<img alt="hplace.png" src="img/hplace.png"/></div>
<div class="param_info"><code class="code">min_width</code> : minimum width of all boxes; default is zero</div>
<div class="param_info"><code class="code">same_width</code> : if <code class="code">true</code>, all boxes are of same width,
               and at least of <code class="code">min_width</code>; default is false</div>

<pre><span id="VALvplace"><span class="keyword">val</span> vplace</span> : <code class="type">?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Box.html#TYPEposition">position</a> -><br>       ?min_height:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?same_height:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre><div class="info ">
the vertical counterpart of <code class="code">hplace</code><br>
</div>

<pre><span id="VALhbox"><span class="keyword">val</span> hbox</span> : <code class="type">?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Box.html#TYPEposition">position</a> -><br>       ?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -><br>       ?min_width:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?same_width:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> list <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
places the given boxes horizontally, aligning them horizontally, and
          returns a box containing these boxes as sub-components. Leave the
          first box at its place. <code class="code">hbox l</code> actually gives the same result as
          <code class="code">group (hplace (halign l))</code>.<br>
<img alt="hbox.png" src="img/hbox.png"/></div>
<div class="param_info"><code class="code">padding</code> : horizontal padding used to separate the boxes;
	  defaults to 0</div>
<div class="param_info"><code class="code">pos</code> : used to determine the way boxes are aligned; defaults to
	  <code class="code">`Center</code></div>

<pre><span id="VALhbox_list"><span class="keyword">val</span> hbox_list</span> : <code class="type">?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Box.html#TYPEposition">position</a> -><br>       ?min_width:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?same_width:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre><div class="info ">
as <code class="code">hbox</code>, but does not group the resulting boxes into a
        surrounding box; it returns the list of placed boxes instead.
        <code class="code">hbox_list l</code> is equal to <code class="code">hplace (halign l)</code>.<br>
</div>

<pre><span id="VALvbox"><span class="keyword">val</span> vbox</span> : <code class="type">?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Box.html#TYPEposition">position</a> -><br>       ?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -><br>       ?min_height:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?same_height:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> list <a href="Mlpost.Box.html#TYPEbox_creator">box_creator</a></code></pre><div class="info ">
aligns the given boxes vertically and returns a box containing
	  these boxes as sub-components. Leave the first box at its place.<br>
</div>
<div class="param_info"><code class="code">padding</code> : vertical padding used to separate the boxes</div>
<div class="param_info"><code class="code">pos</code> : used to determine the way boxes are aligned</div>

<pre><span id="VALvbox_list"><span class="keyword">val</span> vbox_list</span> : <code class="type">?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Box.html#TYPEposition">position</a> -><br>       ?min_height:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?same_height:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre>
<pre><span id="VALtabular"><span class="keyword">val</span> tabular</span> : <code class="type">?hpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?vpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       ?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -><br>       ?name:string -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -><br>       ?fill:<a href="Mlpost.Color.html#TYPEt">Color.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> array array -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
aligns the given boxes both vertically and horizontally and returns
	a box containing all these boxes (with rows as first sub-components,
	and then individual boxes as sub-components of each row).
	Columns (resp. rows) are separated by <code class="code">hpadding</code> (resp. <code class="code">vpadding</code>);
	both default to 0.
	Alignment within columns and rows is controlled using <code class="code">pos</code>.
	The arrays for rows must have the same lengths; otherwise
	<code class="code">Invalid_argument</code> is raised.<br>
</div>

<pre><span id="VALtabularl"><span class="keyword">val</span> tabularl</span> : <code class="type">?hpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?vpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       ?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -><br>       ?name:string -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -><br>       ?fill:<a href="Mlpost.Color.html#TYPEt">Color.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> list list -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
similar to <code class="code">tabular</code>, but using lists instead of arrays<br>
</div>

<pre><span id="VALtabulari"><span class="keyword">val</span> tabulari</span> : <code class="type">?hpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?vpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       ?style:<a href="Mlpost.Box.html#TYPEstyle">style</a> -><br>       ?name:string -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -><br>       ?fill:<a href="Mlpost.Color.html#TYPEt">Color.t</a> -><br>       int -> int -> (int -> int -> <a href="Mlpost.Box.html#TYPEt">t</a>) -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
similar to <code class="code">tabular</code>, but using a matrix defined with a function<br>
</div>

<pre><span id="VALhblock"><span class="keyword">val</span> hblock</span> : <code class="type">?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       ?name:string -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -><br>       ?min_width:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?same_width:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">hblock bl</code> aligns the boxes of <code class="code">bl</code> horizontally and surround
	them with new rectangular boxes of the same height; all these new
	boxes are packed together into the returned box.<br>
</div>
<div class="param_info"><code class="code">min_width</code> : minimum width of all boxes; default is zero</div>
<div class="param_info"><code class="code">same_width</code> : if <code class="code">true</code>, all boxes are of same width,
               and at least of <code class="code">min_width</code>; default is false</div>

<pre><span id="VALvblock"><span class="keyword">val</span> vblock</span> : <code class="type">?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       ?name:string -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -><br>       ?min_height:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?same_height:bool -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
similar to <code class="code">hblock</code>, with vertical alignment.<br>
</div>
<div class="param_info"><code class="code">min_height</code> : minimum height of all boxes; default is zero</div>
<div class="param_info"><code class="code">same_height</code> : if <code class="code">true</code>, all boxes are of same height, and at
        least of <code class="code">min_height</code>; default is false</div>

<pre><span id="VALgrid"><span class="keyword">val</span> grid</span> : <code class="type">?hpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?vpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -> <a href="Mlpost.Box.html#TYPEt">t</a> array array -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
Aligns the given boxes in a way that is similar to <code class="code">hblock</code>
	and <code class="code">vblock</code>: boxes are aligned in a grid where all cells have
	the same size. Each one of these cells is a box containing the
	original corresponding box.<br>
</div>

<pre><span id="VALgridl"><span class="keyword">val</span> gridl</span> : <code class="type">?hpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?vpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -> <a href="Mlpost.Box.html#TYPEt">t</a> list list -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
similar to <code class="code">grid</code>, but using lists instead of arrays<br>
</div>

<pre><span id="VALgridi"><span class="keyword">val</span> gridi</span> : <code class="type">?hpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?vpadding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       ?pos:<a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       ?stroke:<a href="Mlpost.Color.html#TYPEt">Color.t</a> option -><br>       ?pen:Pen.t -><br>       ?dash:Dash.t -><br>       int -> int -> (int -> int -> <a href="Mlpost.Box.html#TYPEt">t</a>) -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
similar to <code class="code">gridi</code>, but using a matrix defined with a function<br>
</div>

<pre><span id="VALplace"><span class="keyword">val</span> place</span> : <code class="type"><a href="Mlpost.Box.html#TYPEposition">position</a> -><br>       ?pos:<a href="Mlpost.Box.html#TYPEposition">position</a> -><br>       ?padding:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
Place a box relatively to another box.
<p>

        <code class="code">place `East a</code> is a function which places a box at the east
        of <code class="code">a</code>. Thus, <code class="code">place `East a b</code> returns a copy of <code class="code">b</code> placed
        at the east of <code class="code">a</code>.
<p>

        <code class="code">place posa ~pos: posb ~padding a b</code> returns a new box <code class="code">c</code> which is
        obtained by moving <code class="code">b</code> to place the <code class="code">posa</code> point of <code class="code">a</code> on top of the
        <code class="code">posb</code> point of <code class="code">b</code>, and then padding the result by <code class="code">padding</code> in
        direction <code class="code">posa</code>.
<p>

        Default value of <code class="code">posb</code> is the opposite direction of <code class="code">posa</code> wrt. the
        center (see <a href="Mlpost.Box.html#VALopposite_position"><code class="code">Box.opposite_position</code></a>).
        Default value of <code class="code">padding</code> is zero.
<p>

        The padding argument multiplies a unit vector which goes from
        the center of <code class="code">a</code> to the corner of <code class="code">a</code> indicated by <code class="code">posa</code>.
        This effectively places point <code class="code">posa</code> of <code class="code">a</code> at exactly
        <code class="code">padding</code> units of point <code class="code">posb</code> of <code class="code">b</code>, in direction <code class="code">posa</code>.
        This also means that for diagonal directions, the actual
        direction will change according to the width / height ratio of
        <code class="code">a</code>.<br>
</div>
<br>
<h2 id="2_Subboxesaccessors">Sub-boxes accessors</h2><br>

<pre><span id="VALnth"><span class="keyword">val</span> nth</span> : <code class="type">int -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">nth i b</code> returns the <code class="code">i</code>-th sub-box of <code class="code">b</code>. The first sub-box
	has index 0. Raises <code class="code">Invalid_argument</code> if there is no such sub-box.<br>
</div>

<pre><span id="VALget"><span class="keyword">val</span> get</span> : <code class="type">string -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">get n b</code> returns the sub-box of <code class="code">b</code> of name <code class="code">n</code>, if any, and
	raises <code class="code">Invalid_argument</code> otherwise. The behavior is not specified
	if <code class="code">b</code> contains several sub-boxes with name <code class="code">n</code>.<br>
</div>

<pre><span id="VALsub"><span class="keyword">val</span> sub</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">sub b1 b</code> returns the sub-box of <code class="code">b</code> which has the same name as <code class="code">b1</code>,
     if any, and raises <code class="code">Invalid_argument</code> otherwise. The behavior is not
     specified if <code class="code">b</code> contains several sub-boxes with the name of <code class="code">b1</code>.<br>
</div>

<pre><span id="VALelts"><span class="keyword">val</span> elts</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> array</code></pre><div class="info ">
<code class="code">elts b</code> returns the sub-boxes of <code class="code">b</code>; returns the empty array for
        the empty box or a box containing a picture.<br>
</div>
<br>
<h2 id="2_SpecialsPoints">Specials Points</h2><br>

<pre><span id="VALsetp"><span class="keyword">val</span> setp</span> : <code class="type">string -> <a href="Mlpost.Point.html#TYPEt">Point.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALgetp"><span class="keyword">val</span> getp</span> : <code class="type">string -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a></code></pre>
<pre><span id="VALgetpx"><span class="keyword">val</span> getpx</span> : <code class="type">string -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a></code></pre>
<pre><span id="VALgetpy"><span class="keyword">val</span> getpy</span> : <code class="type">string -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a></code></pre><br>
<h2 id="2_Boxproperties">Box properties</h2><br>

<pre><span id="VALget_fill"><span class="keyword">val</span> get_fill</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Color.html#TYPEt">Color.t</a> option</code></pre>
<pre><span id="VALset_fill"><span class="keyword">val</span> set_fill</span> : <code class="type"><a href="Mlpost.Color.html#TYPEt">Color.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALget_stroke"><span class="keyword">val</span> get_stroke</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Color.html#TYPEt">Color.t</a> option</code></pre>
<pre><span id="VALset_stroke"><span class="keyword">val</span> set_stroke</span> : <code class="type"><a href="Mlpost.Color.html#TYPEt">Color.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALclear_stroke"><span class="keyword">val</span> clear_stroke</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALget_name"><span class="keyword">val</span> get_name</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> string option</code></pre>
<pre><span id="VALset_name"><span class="keyword">val</span> set_name</span> : <code class="type">string -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALget_pen"><span class="keyword">val</span> get_pen</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> Pen.t option</code></pre>
<pre><span id="VALset_pen"><span class="keyword">val</span> set_pen</span> : <code class="type">Pen.t -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALset_height"><span class="keyword">val</span> set_height</span> : <code class="type"><a href="Mlpost.Command.html#TYPEvposition">Command.vposition</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALset_width"><span class="keyword">val</span> set_width</span> : <code class="type"><a href="Mlpost.Command.html#TYPEhposition">Command.hposition</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALget_dash"><span class="keyword">val</span> get_dash</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> Dash.t option</code></pre>
<pre><span id="VALset_dash"><span class="keyword">val</span> set_dash</span> : <code class="type">Dash.t -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALclear_dash"><span class="keyword">val</span> clear_dash</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALset_height2"><span class="keyword">val</span> set_height2</span> : <code class="type"><a href="Mlpost.Box.html#TYPEvposition">vposition</a> -><br>       <a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       <a href="Mlpost.Box.html#TYPEvposition">vposition</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
set_height2 `North y1 `South y2 b return the box b with its height and
     center chosen such as the ordinate of the top (because of `North) of the
     box is at y1 and the ordinate of its south is at y2<br>
</div>

<pre><span id="VALset_width2"><span class="keyword">val</span> set_width2</span> : <code class="type"><a href="Mlpost.Box.html#TYPEhposition">hposition</a> -><br>       <a href="Mlpost.Num.html#TYPEt">Num.t</a> -><br>       <a href="Mlpost.Box.html#TYPEhposition">hposition</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALset_size"><span class="keyword">val</span> set_size</span> : <code class="type"><a href="Mlpost.Command.html#TYPEposition">Command.position</a> -><br>       width:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -> height:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALsame_height"><span class="keyword">val</span> same_height</span> : <code class="type">?pos:<a href="Mlpost.Box.html#TYPEvposition">vposition</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre>
<pre><span id="VALsame_width"><span class="keyword">val</span> same_width</span> : <code class="type">?pos:<a href="Mlpost.Box.html#TYPEhposition">hposition</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre>
<pre><span id="VALsame_size"><span class="keyword">val</span> same_size</span> : <code class="type">?pos:<a href="Mlpost.Box.html#TYPEposition">position</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> list -> <a href="Mlpost.Box.html#TYPEt">t</a> list</code></pre>
<pre><span id="VALset_post_draw"><span class="keyword">val</span> set_post_draw</span> : <code class="type">(<a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Command.html#TYPEt">Command.t</a>) -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALclear_post_draw"><span class="keyword">val</span> clear_post_draw</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALset_pre_draw"><span class="keyword">val</span> set_pre_draw</span> : <code class="type">(<a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Command.html#TYPEt">Command.t</a>) -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALclear_pre_draw"><span class="keyword">val</span> clear_pre_draw</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><br>
<h2 id="2_Misc">Misc.</h2><br>

<pre><span id="VALshadow"><span class="keyword">val</span> shadow</span> : <code class="type"><a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALcpath"><span class="keyword">val</span> cpath</span> : <code class="type">?style:<a href="Mlpost.Path.html#TYPEjoint">Path.joint</a> -><br>       ?outd:<a href="Mlpost.Path.html#TYPEdirection">Path.direction</a> -><br>       ?ind:<a href="Mlpost.Path.html#TYPEdirection">Path.direction</a> -><br>       ?sep:<a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
the path that connects 2 boxes and stops at the box boundaries<br>
</div>

<pre><span id="VALcpath_left"><span class="keyword">val</span> cpath_left</span> : <code class="type">?style:<a href="Mlpost.Path.html#TYPEjoint">Path.joint</a> -><br>       ?outd:<a href="Mlpost.Path.html#TYPEdirection">Path.direction</a> -><br>       ?ind:<a href="Mlpost.Path.html#TYPEdirection">Path.direction</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
the path that connects a box and a point and stops at the box
        boundaries<br>
</div>

<pre><span id="VALcpath_right"><span class="keyword">val</span> cpath_right</span> : <code class="type">?style:<a href="Mlpost.Path.html#TYPEjoint">Path.joint</a> -><br>       ?outd:<a href="Mlpost.Path.html#TYPEdirection">Path.direction</a> -><br>       ?ind:<a href="Mlpost.Path.html#TYPEdirection">Path.direction</a> -> <a href="Mlpost.Point.html#TYPEt">Point.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Path.html#TYPEt">Path.t</a></code></pre><div class="info ">
the path that connects a box and a point and stops at the box
        boundaries<br>
</div>

<pre><span id="VALtransform"><span class="keyword">val</span> transform</span> : <code class="type"><a href="Mlpost.Transform.html#TYPEt">Transform.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALscale"><span class="keyword">val</span> scale</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALrotate"><span class="keyword">val</span> rotate</span> : <code class="type">float -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALshift"><span class="keyword">val</span> shift</span> : <code class="type"><a href="Mlpost.Point.html#TYPEt">Point.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALyscale"><span class="keyword">val</span> yscale</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre>
<pre><span id="VALxscale"><span class="keyword">val</span> xscale</span> : <code class="type"><a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><br>
<h2 id="2_BoxlikeAnargumentforfunctorofobjectthataresimilartobox">Boxlike : An argument for functor of object that are similar to box</h2><br>

<pre><span id="VALset_pos"><span class="keyword">val</span> set_pos</span> : <code class="type"><a href="Mlpost.Point.html#TYPEt">Point.t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a> -> <a href="Mlpost.Box.html#TYPEt">t</a></code></pre><div class="info ">
same as center<br>
</div>
</body></html>