Mlpost.Command
Basic drawing commands
General Commands to build figures
Draw a path
val externalimage : string -> [ `None | `Width of Num.t | `Height of Num.t | `Inside of Num.t * Num.t | `Exact of Num.t * Num.t ] -> t
insert an image given its filename - *EXPERIMENTAL*
val nop : t
A command that has no effect
iter m n f
builds a command that corresponds to the sequence of commands f m; f (m+1); ... ; f(n)
iterl f l
builds a command that corresponds to the sequence of commands f x1; f x2; ... ; f xn
for l = [x1;x2;...;xn]
type position = [
| hposition |
| vposition |
| `Northwest |
| `Northeast |
| `Southwest |
| `Southeast |
| `Upperleft |
| `Upperright |
| `Lowerleft |
| `Lowerright |
| `Topleft |
| `Topright |
| `Bottomleft |
| `Bottomright |
| `Upleft |
| `Upright |
| `Lowleft |
| `Lowright |
]
Positions - they are used at many places in Mlpost to indicate a direction or position.
label ~pos:`West pic p
puts picture pic
at the left of the point p