( *./ ) [Mlpost.Num.Infix] |
alias for
Num.multf
|
( */ ) [Mlpost.Concrete.CPoint.Infix] |
alias for
Concrete.CPoint.mult
|
( */ ) [Mlpost.Num.Infix] |
alias for
Num.multn
|
(++) [Mlpost.Command] |
Abbreviation for
append
|
(+/) [Mlpost.Concrete.CPoint.Infix] |
alias for
Concrete.CPoint.add
|
(+/) [Mlpost.Num.Infix] |
alias for
Num.addn
|
(-/) [Mlpost.Concrete.CPoint.Infix] |
alias for
Concrete.CPoint.sub
|
(-/) [Mlpost.Num.Infix] |
alias for
Num.subn
|
(/./) [Mlpost.Num.Infix] |
alias for
Num.divf
|
(//) [Mlpost.Concrete.CPoint.Infix] |
alias for
Concrete.CPoint.div
|
(//) [Mlpost.Num.Infix] |
alias for
Num.divn
|
A | |
add [Mlpost.Concrete.CPoint] | |
add [Mlpost.Point] | |
add_belt [Mlpost.Arrow] |
Add an arrow head at any point of an arrow.
|
add_foot [Mlpost.Arrow] |
Add a foot (an inverted head) at the beginning of the arrow.
|
add_head [Mlpost.Arrow] |
Add a head at the end of the arrow.
|
add_line [Mlpost.Arrow] |
Add a line to a body.
|
addn [Mlpost.Num] |
Useful operations on Nums
|
append [Mlpost.Command] |
Append two commands to form a compound command
|
append [Mlpost.Path] |
Append a path to another using joint
style
|
append [Mlpost.MetaPath] |
Append a metapath to another using joint
style
|
arrow [Mlpost.Diag] | arrow d n1 n2 adds an arrow between n1 and n2 in the diagram d, by
side effect.
|
B | |
bbox [Mlpost.Picture] |
Get the bounding box of a picture (with default padding, as
in MetaPost)
|
below [Mlpost.Picture] | below p1 p2 returns a picture in which p2 is placed below p1
|
beside [Mlpost.Picture] | beside p1 p2 returns a picture in which p2 is placed right to p1
|
bin [Mlpost.Tree.Simple] | |
bin [Mlpost.Tree] | bin label l r creates a binary node with label label and
children l and r .
|
black [Mlpost.Color] | |
blue [Mlpost.Color] | |
bounding_box [Mlpost.Concrete.CPath] | |
box [Mlpost.Box] | box b creates a new box containing the box b
|
box_arrow [Mlpost.Helpers] | |
box_label_arrow [Mlpost.Helpers] | |
box_label_line [Mlpost.Helpers] | |
box_labelbox_arrow [Mlpost.Helpers] | |
box_line [Mlpost.Helpers] | |
box_to_box [Mlpost.Arrow] |
Use
box_to_box to draw an arrow from a to b , stopping at the
box boundaries.
|
box_to_point [Mlpost.Arrow] |
Use
box_to_point to draw an arrow from a to b , stopping at the
box boundaries.
|
bp [Mlpost.Num.Scale] | |
bp [Mlpost.Num] | |
bpath [Mlpost.Box] |
Get the bounding path of a box
|
bpp [Mlpost.Point] | |
build_cycle [Mlpost.Path] |
Build a cycle from a set of intersecting paths
|
C | |
center [Mlpost.Box] | center pt x centers the box x at the point pt
|
center [Mlpost.Picture] |
Place a picture centered at some point
|
circle [Mlpost.Box] | circle pic creates a circle box containing the picture
pic .
|
circle [Mlpost.Shapes] | |
circle [Mlpost.Pen] |
A circular pen of diameter 1 bp
|
classic [Mlpost.Arrow] |
A simple arrow with one line and two straight lines for the head.
|
clear_stroke [Mlpost.Box] | |
clip [Mlpost.Picture] | clip pic path limits pic to the cyclic path path ; all elements
outside of path are cut off.
|
cm [Mlpost.Num.Scale] | |
cm [Mlpost.Num] | |
cmp [Mlpost.Point] | |
cmyk [Mlpost.Color] | cmyk c m y k constructs the color that corresponds to the color code
CMYK(c,m,y,k)
|
cmyka [Mlpost.Color] |
similar to
cmyk , but takes the factor of transparency
|
color [Mlpost.Color] | color n returns the RGB color associated to name n
(as defined in /etc/X11/rgb.txt).
|
compare [Mlpost.Radar] | stack l builds a list of pictures from a list l of
floating-point lists.
|
compare [Mlpost.Hist] | compare l draws a comparative histogram from a list l
of floating-point lists.
|
concat [Mlpost.Path] |
Add a knot at the end of a path
|
concat [Mlpost.MetaPath] |
Add a knot at the end of a metapath
|
corner [Mlpost.Box] | |
corner [Mlpost.Picture] | |
corner_bbox [Mlpost.Picture] |
Get the bounding box of a picture, according to its corners
and supplied padding
dx and dy .
|
cpath [Mlpost.Box] |
the path that connects 2 boxes and stops at the box boundaries
|
cpath_left [Mlpost.Box] |
the path that connects a box and a point and stops at the box
boundaries
|
cpath_of_path [Mlpost.Concrete] | |
cpath_right [Mlpost.Box] |
the path that connects a box and a point and stops at the box
boundaries
|
cpoint_of_point [Mlpost.Concrete] | |
create [Mlpost.Diag] |
Create a diagram that consists of the given nodes
|
ctr [Mlpost.Box] | |
ctr [Mlpost.Picture] | |
curl [Mlpost.Path] | |
curl [Mlpost.MetaPath] | |
cut_after [Mlpost.Concrete.CPath] |
remove the part of a path before the first intersection
or after the last
|
cut_after [Mlpost.Path] | cut_after p1 p2 cuts p2 after the intersection with p1 .
|
cut_before [Mlpost.Concrete.CPath] | |
cut_before [Mlpost.Path] |
Same as
Path.cut_after , but cuts before
|
cyan [Mlpost.Color] | |
cycle [Mlpost.Path] |
Close a path using direction
dir and style style
|
cycle [Mlpost.MetaPath] |
Close a metapath using direction
dir and style style
|
D | |
darkgray [Mlpost.Color] | |
default [Mlpost.Color] |
the default color is black
|
default [Mlpost.Pen] |
The default pen; it corresponds to
Pen.scale (Num.bp 0.5) Pen.circle
|
defaultjoint [Mlpost.Path] |
The default joint style (
JCurve )
|
defaultjoint [Mlpost.MetaPath] |
The default joint style (
JCurve )
|
deg2rad [Mlpost.Num] |
Converts degrees into radians
|
depend [Mlpost.Metapost] | |
dir [Mlpost.Point] | dir f is the point at angle f on the unit circle.
|
direction [Mlpost.Path] | direction f p returns the direction of the tangent at point f p .
|
direction_of_abscissa [Mlpost.Concrete.CPath] | |
directionn [Mlpost.Path] |
Same as
direction but for a Num.t .
|
dist_min_path [Mlpost.Concrete.CPath] | |
dist_min_point [Mlpost.Concrete.CPath] | |
div [Mlpost.Concrete.CPoint] | |
divf [Mlpost.Num] | |
divn [Mlpost.Num] | |
dotlabel [Mlpost.Command] |
Works like
label , but puts a dot at point p as well
|
dotlabels [Mlpost.Helpers] | |
down [Mlpost.Point] | |
draw [Mlpost.Diag] |
Draws the diagram.
|
draw [Mlpost.Tree.Simple] | |
draw [Mlpost.Tree] | |
draw [Mlpost.Arrow] |
Draw an arrow following the given path.
|
draw [Mlpost.Box] |
Draws a box
|
draw [Mlpost.Command] |
Draw a path
|
draw [Mlpost.Path] |
Draw a path
|
draw [Mlpost.Point] |
Draw a point
|
draw_axes [Mlpost.Plot] | |
draw_func [Mlpost.Plot] | |
draw_grid [Mlpost.Plot] | |
draw_label_arrow [Mlpost.Helpers] | |
draw_labelbox_arrow [Mlpost.Helpers] | |
draw_pic [Mlpost.Command] |
draws a picture
|
draw_simple_arrow [Mlpost.Helpers] | |
draw_simple_axes [Mlpost.Plot] | |
draw_thick [Mlpost.Arrow] |
Draw a thick arrow.
|
dump [Mlpost.Metapost] | dump ?prelude ?pdf f builds a Metapost file f.mp for all figures,
then runs Metapost on it, and renames figure files according to the
names specified to emit .
|
dump_pdf [Mlpost.Cairost] | |
dump_pdfs [Mlpost.Cairost] |
Use the figures recorded by the function emit of metapost
|
dump_tex [Mlpost.Metapost] | dump_tex ?prelude f builds a LaTeX file f.tex for all the figures,
using LaTeX prelude prelude if given.
|
dumpable [Mlpost.Metapost] | |
E | |
east [Mlpost.Box] | |
east [Mlpost.Picture] | |
ellipse [Mlpost.Box] | ellipse pic creates a elliptic box containing the picture
pic .
|
ellipse [Mlpost.Shapes] | ellipse rx ry returns an ellipse of great axis rx and small axis ry .
|
elts [Mlpost.Box] | elts b returns the sub-boxes of b ; returns the empty array for
the empty box or a box containing a picture.
|
emit [Mlpost.Metapost] | |
emit_cairo [Mlpost.Cairost] | |
emit_pdf [Mlpost.Cairost] | |
emit_pdfs [Mlpost.Cairost] |
One figure by page
|
emit_png [Mlpost.Cairost] | |
emit_ps [Mlpost.Cairost] | |
emit_slideshow [Mlpost.Metapost] |
emit the list of figures as a slideshow, using the
slideshow function.
|
emit_svg [Mlpost.Cairost] | |
empty [Mlpost.Arrow] |
The empty kind with no line nor head.
|
empty [Mlpost.Box] |
the empty box
|
empty_from_box [Mlpost.Box] |
the empty box with the same position and dimension as the box
|
escape_all [Mlpost.Picture] | |
escape_latex [Mlpost.Picture] | |
evenly [Mlpost.Dash] |
The pattern composed of evenly spaced dashes
|
externalimage [Mlpost.Command] |
insert an image given its filename - *EXPERIMENTAL*
|
F | |
fill [Mlpost.Command] |
Fill a contour given by a closed path
|
float_of_num [Mlpost.Concrete] |
Compute the concrete value
|
fold_left [Mlpost.Concrete.CPath] |
fold on all the splines of a path
|
from_path [Mlpost.Pen] |
Construct a pen from a closed path
|
fullcircle [Mlpost.Path] |
A full circle of radius 1 and centered on the origin
|
G | |
generate [Mlpost.Metapost] | |
generate_mp [Mlpost.Metapost] | |
generate_pdfs [Mlpost.Cairost] | |
generate_tex [Mlpost.Generate] | |
generate_tex_cairo [Mlpost.Generate] | |
get [Mlpost.Box] | get n b returns the sub-box of b of name n , if any, and
raises Invalid_argument otherwise.
|
get_fill [Mlpost.Box] | |
get_name [Mlpost.Box] | |
get_pen [Mlpost.Box] | |
get_stroke [Mlpost.Box] | |
getp [Mlpost.Box] | |
getpx [Mlpost.Box] | |
getpy [Mlpost.Box] | |
gmean [Mlpost.Num] |
the geometric mean of two nums : sqrt(a * a + b * b)
|
gray [Mlpost.Color] | |
green [Mlpost.Color] | |
grid [Mlpost.Box] |
Aligns the given boxes in a way that is similar to
hblock and vblock :
boxes are aligned in a grid where all cells have the same size.
|
gridi [Mlpost.Box] |
similar to
gridi , but using a matrix defined with a function
|
gridl [Mlpost.Box] |
similar to
grid , but using lists instead of arrays
|
group [Mlpost.Box] | group bl groups a list of boxes bl into a single box
|
H | |
halfcircle [Mlpost.Path] |
The upper half of
fullcircle
|
halign [Mlpost.Box] | |
hblock [Mlpost.Box] | hblock bl aligns the boxes of bl horizontally and surround
them with new rectangular boxes of the same height; all these new
boxes are packed together into the returned box.
|
hbox [Mlpost.Box] |
aligns the given boxes horizontally and returns a box containing
these boxes as sub-components.
|
hbox_list [Mlpost.Box] | |
head_classic [Mlpost.Arrow] |
A simple head with two straight lines.
|
head_triangle [Mlpost.Arrow] |
Same as
head_classic except that the two lines are joined together
to form a triangle.
|
head_triangle_full [Mlpost.Arrow] |
Same as
head_triangle except that the triangle is not drawn (hence the
absence of pen properties) but is filled with the given color .
|
height [Mlpost.Box] |
return the height of the box
|
height [Mlpost.Picture] | |
hplace [Mlpost.Box] | |
I | |
id [Mlpost.Transform] |
The identity transformation
|
iff [Mlpost.Arrow] |
An arrow made of two parallel lines, a classic head and a classic
foot.
|
implies [Mlpost.Arrow] |
An arrow made of two parallel lines and a classic head.
|
inch [Mlpost.Num.Scale] | |
inch [Mlpost.Num] | |
inp [Mlpost.Point] | |
intersection [Mlpost.Concrete.CPath] |
intersection p1 p2 return a list of pair of abscissa.
|
is_a_point [Mlpost.Concrete.CPath] | |
is_closed [Mlpost.Concrete.CPath] | |
is_opaque [Mlpost.Color] |
test if the color is opaque
|
iter [Mlpost.Concrete.CPath] |
iter on all the splines of a path: iter f p applies f
successively to the splines of p with : the start point of the spline as first argument , the control point of the start point as second argument , the control point of the end point as third argument , the end point as fourth argument
|
iter [Mlpost.Command] | iter m n f builds a command that corresponds to the sequence
of commands f m; f (m+1); ... ; f(n)
|
iterl [Mlpost.Command] | iterl f l builds a command that corresponds to the sequence
of commands f x1; f x2; ... ; f xn for l = [x1;x2;...;xn]
|
J | |
jControls [Mlpost.Path] | |
jControls [Mlpost.MetaPath] | |
jCurve [Mlpost.Path] | |
jCurve [Mlpost.MetaPath] | |
jCurveNoInflex [Mlpost.Path] | |
jCurveNoInflex [Mlpost.MetaPath] | |
jLine [Mlpost.Path] | |
jLine [Mlpost.MetaPath] | |
jTension [Mlpost.Path] | |
jTension [Mlpost.MetaPath] | |
jointpath [Mlpost.Path] |
Build a path from
n float_pairs and n-1 joints,
with default directions
|
jointpath [Mlpost.MetaPath] |
Build a metapath from
n float_pairs and n-1 joints,
with default directions
|
jointpathk [Mlpost.Path] |
Build a path from
n knots and n-1 joints
|
jointpathk [Mlpost.MetaPath] |
Build a metapath from
n knots and n-1 joints
|
jointpathn [Mlpost.Path] | |
jointpathn [Mlpost.MetaPath] | |
jointpathp [Mlpost.Path] |
Build a path from
n points and n-1 joints,
with default directions
|
jointpathp [Mlpost.MetaPath] |
Build a metapath from
n points and n-1 joints,
with default directions
|
K | |
knot [Mlpost.Path] |
Build a knot from a pair of floats
|
knot [Mlpost.MetaPath] |
Build a knot from a pair of floats
|
knotlist [Mlpost.Path] | |
knotlist [Mlpost.MetaPath] | |
knotn [Mlpost.Path] |
Build a knot from a Num.t pair; the optional arguments are as in
Path.knot
|
knotn [Mlpost.MetaPath] |
Build a knot from a Num.t pair; the optional arguments are as in
MetaPath.knot
|
knotp [Mlpost.Path] |
Build a knot from a point; the optional arguments are the incoming directions
|
knotp [Mlpost.MetaPath] |
Build a knot from a point; the optional arguments are the incoming directions
|
L | |
label [Mlpost.Command] | label ~pos:`West pic p puts picture pic at the left of the point p
|
leaf [Mlpost.Tree.Simple] | |
leaf [Mlpost.Tree] |
Creation
|
left [Mlpost.Point] | |
legend [Mlpost.Legend] | |
length [Mlpost.Concrete.CPath] | |
length [Mlpost.Path] |
Number of nodes in a path, minus one.
|
length [Mlpost.Point] | length p is the length of vector from the origin to p
|
lightblue [Mlpost.Color] | |
lightcyan [Mlpost.Color] | |
lightgray [Mlpost.Color] | |
lightgreen [Mlpost.Color] | |
lightmagenta [Mlpost.Color] | |
lightred [Mlpost.Color] | |
lightyellow [Mlpost.Color] | |
llcorner [Mlpost.Picture] | |
lrcorner [Mlpost.Picture] | |
M | |
magenta [Mlpost.Color] | |
make [Mlpost.Picture] |
Make a picture from a drawing command
|
make_head [Mlpost.Arrow] |
Head description constructor.
|
map_bp [Mlpost.Point] | |
map_cm [Mlpost.Point] | |
map_in [Mlpost.Point] | |
map_mm [Mlpost.Point] | |
map_pt [Mlpost.Point] | |
maxn [Mlpost.Num] | |
mediumgray [Mlpost.Color] | |
minn [Mlpost.Num] | |
mk_skeleton [Mlpost.Plot] | mk_skeleton w h dx dy builds a skeleton of width w and height h ,
each cell being dx units wide and dy units high.
|
mm [Mlpost.Num.Scale] | |
mm [Mlpost.Num] | |
mmp [Mlpost.Point] | |
mult [Mlpost.Concrete.CPoint] | |
mult [Mlpost.Point] | |
multf [Mlpost.Num] | |
multn [Mlpost.Num] | |
N | |
neg [Mlpost.Num] | |
noDir [Mlpost.Path] | |
noDir [Mlpost.MetaPath] | |
node [Mlpost.Diag] |
Construct a node at a given position with a given content in Latex
format and a box style
|
node [Mlpost.Tree.Simple] | |
node [Mlpost.Tree] | node label children creates a node with label label and a list
of children children .
|
nodel [Mlpost.Tree] |
Similar to
node but with labels on edges.
|
nop [Mlpost.Command] |
A command that has no effect
|
north [Mlpost.Box] | |
north [Mlpost.Picture] | |
north_east [Mlpost.Box] | |
north_east [Mlpost.Picture] | |
north_west [Mlpost.Box] | |
north_west [Mlpost.Picture] | |
nth [Mlpost.Box] | nth i b returns the i -th sub-box of b .
|
num_of_float [Mlpost.Concrete] |
exactly Num.bp
|
O | |
of_metapath [Mlpost.Path] | |
of_path [Mlpost.MetaPath] |
Obtain a metapath from a path with exactly the same
control point.
|
off [Mlpost.Dash] | |
on [Mlpost.Dash] | |
one [Mlpost.Num] | |
one_intersection [Mlpost.Concrete.CPath] |
one_intersection p1 p2 return one of the intersections
between p1 and p2 or raise Not_found if none exists
|
opaque [Mlpost.Color] |
make a color opaque
|
opp [Mlpost.Concrete.CPoint] | |
orange [Mlpost.Color] | |
origin [Mlpost.Point] | |
P | |
p [Mlpost.Point] |
Builds a point from a pair of floats
|
patatoid [Mlpost.Box] | patatoid pic creates an undefined, vaguely rectangular box
containing the picture pic .
|
patatoid [Mlpost.Shapes] |
See
Box.patatoid .
|
patatoid2 [Mlpost.Box] | patatoid2 pic creates an undefined, vaguely rectangular box
containing the picture pic , which is guaranteed to be fully
contained in the patatoid.
|
patatoid2 [Mlpost.Shapes] |
See
Box.patatoid2 .
|
path [Mlpost.Box] | path p creates a new box containing the path p
|
path [Mlpost.Path] |
Build a path from a list of pairs of floats
|
path [Mlpost.MetaPath] |
Build a metapath from a list of pairs of floats
|
path_of_cpath [Mlpost.Concrete] | |
pathk [Mlpost.Path] |
Same as
path , but uses a knot list
|
pathk [Mlpost.MetaPath] |
Same as
metapath , but uses a knot list
|
pathn [Mlpost.Path] |
Same as
path , but uses a Num.t list
|
pathn [Mlpost.MetaPath] |
Same as
metapath , but uses a Num.t list
|
pathp [Mlpost.Path] |
Same as
path but uses a point list
|
pathp [Mlpost.MetaPath] |
Same as
metapath but uses a point list
|
pattern [Mlpost.Dash] |
This function, together with the type
on_off permits to construct
custom dash patterns, by giving a list of on / off constructors, with
corresponding lengths
|
pi [Mlpost.Num] |
3 .14159
|
pic [Mlpost.Box] | pic p creates a new box containing the picture p
|
place_bot_left [Mlpost.Picture] |
Place a picture with its bottom left corner at some point
|
place_bot_right [Mlpost.Picture] |
Place a picture with its bottom right corner at some point
|
place_up_left [Mlpost.Picture] |
Place a picture with its upper left corner at some point
|
place_up_right [Mlpost.Picture] |
Place a picture with its upper right corner at some point
|
point [Mlpost.Path] | point f p returns a certain point on the path p ; f is
given "in control points": 0. means the first control point,
1. the second and so on; intermediate values are accepted.
|
point_of_abscissa [Mlpost.Concrete.CPath] | |
point_of_cpoint [Mlpost.Concrete] | |
point_to_box [Mlpost.Arrow] |
Use
point_to_box to draw an arrow from a to b , stopping at the
box boundaries.
|
point_to_point [Mlpost.Arrow] |
Use
point_to_point a b to draw an arrow from a to b .
|
pointn [Mlpost.Path] |
Same as
point but for a Num.t .
|
print [Mlpost.Concrete.CPath] | |
print [Mlpost.Concrete.CPoint] | |
pt [Mlpost.Point] |
Construct a point from two numeric values
|
pt [Mlpost.Num.Scale] | |
pt [Mlpost.Num] |
pt are PostScript points.
|
ptlist [Mlpost.Point] |
Same as
p , but builds a list of points
|
ptp [Mlpost.Point] | |
purple [Mlpost.Color] | |
Q | |
quartercircle [Mlpost.Path] |
The right half of
halfcircle
|
R | |
read_prelude_from_tex_file [Mlpost.Metapost] |
read the prelude from a tex file, until the end of file or the text
"\begin{document}" if it is outside a comment
|
rect [Mlpost.Box] | rect pic creates a rectangular box containing the picture
pic .
|
rectangle [Mlpost.Shapes] | rectangle w h returns a rectangle of width w and height h .
|
red [Mlpost.Color] | |
reflect [Mlpost.Transform] |
Reflect an object with respect to the line that goes through the two
given points
|
reverse [Mlpost.Concrete.CPath] |
reverse p return the path p reversed
|
rgb [Mlpost.Color] | rgb r g b constructs the color that corresponds to the color code
RGB(r,g,b)
|
rgb8 [Mlpost.Color] |
similar to
rgb , but takes integers between 0 and 255 as argument
|
rgb8a [Mlpost.Color] |
similar to
rgb8 , but takes the factor of transparency
|
rgba [Mlpost.Color] |
similar to
rgb , but takes the factor of transparency
|
right [Mlpost.Point] | |
rotate [Mlpost.Box] | |
rotate [Mlpost.Picture] | |
rotate [Mlpost.Pen] | |
rotate [Mlpost.Path] | |
rotate [Mlpost.Point] |
Rotate a point by an angle in degrees
|
rotate_around [Mlpost.Transform] |
Rotate an object by an angle given in degrees, around a given point
|
rotate_around [Mlpost.Point] | rotate_around p1 f p2 rotates p2 around p1 by an angle f
in degrees
|
rotated [Mlpost.Transform] |
Rotate an object by an angle given in degrees
|
round_box [Mlpost.Box] | |
round_rect [Mlpost.Box] | round_rect pic creates a rectangular box containing the picture
pic , with rounded corners.
|
round_rect [Mlpost.Shapes] | round_rect w h rx ry returns a rectangle of width w and
height h with rounded corners.
|
S | |
same_height [Mlpost.Box] | |
same_size [Mlpost.Box] | |
same_width [Mlpost.Box] | |
scale [Mlpost.Box] | |
scale [Mlpost.Picture] | |
scale [Mlpost.Pen] | |
scale [Mlpost.Path] | |
scale [Mlpost.Point] |
Multiply a point by a scalar
|
scaled [Mlpost.Transform] |
Scale an object by a constant factor.
|
scaled [Mlpost.Dash] |
Scale a dash pattern
|
segment [Mlpost.Point] | segment f p1 p2 is the point (1-f)p1 + fp2 .
|
seq [Mlpost.Command] |
Group a list of commands to a single command
|
set_fill [Mlpost.Box] | |
set_height [Mlpost.Box] | |
set_height2 [Mlpost.Box] |
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
|
set_name [Mlpost.Box] | |
set_pen [Mlpost.Box] | |
set_size [Mlpost.Box] | |
set_stroke [Mlpost.Box] | |
set_width [Mlpost.Box] | |
set_width2 [Mlpost.Box] | |
setp [Mlpost.Box] | |
shadow [Mlpost.Box] | |
shift [Mlpost.Box] | shift pt x shifts the box x about the point pt
|
shift [Mlpost.Picture] | |
shift [Mlpost.Pen] | |
shift [Mlpost.Path] | |
shift [Mlpost.Point] |
Sum two points
|
shifted [Mlpost.Transform] |
Shift an object with respect to a point
|
shifted [Mlpost.Dash] |
Shift a dash pattern
|
simple [Mlpost.Hist] | simple l draws an histogram from a list l of floating-point values.
|
simple [Mlpost.Arrow] |
Draw a simple arrow following the given path.
|
slanted [Mlpost.Transform] |
Slant an object: the point
(x,y) becomes (x+ay,y) , with slanting
factor a
|
slideshow [Mlpost.Metapost] |
takes a list of figures and returns a list of figures of exactly the
same size (the size of the biggest figure).
|
smart_path [Mlpost.Path] | |
south [Mlpost.Box] | |
south [Mlpost.Picture] | |
south_east [Mlpost.Box] | |
south_east [Mlpost.Picture] | |
south_west [Mlpost.Box] | |
south_west [Mlpost.Picture] | |
spin [Mlpost.Picture] | |
split [Mlpost.Concrete.CPath] | |
square [Mlpost.Pen] |
A pen in form of a square, of length 1 bp
|
stack [Mlpost.Radar] | stack l builds a picture from a list l of floating-point lists.
|
stack [Mlpost.Hist] | compare l draws a stacked histogram from a list l
of floating-point lists.
|
start [Mlpost.Path] |
Create a simple path with one knot
|
start [Mlpost.MetaPath] |
Create a simple metapath with one knot
|
strip [Mlpost.Path] | strip n p removes two segments of length n at each end of path p
|
sub [Mlpost.Concrete.CPoint] | |
sub [Mlpost.Box] | sub b1 b2 returns the sub-box of b which has the same name as b1 ,
if any, and raises Invalid_argument otherwise.
|
sub [Mlpost.Point] |
Substract two points
|
subn [Mlpost.Num] | |
subpath [Mlpost.Concrete.CPath] | |
subpath [Mlpost.Path] | subpath start end path selects the subpath of path that lies
between start and end .
|
subpathn [Mlpost.Path] |
Same as
subpathn but using Num.t .
|
supported [Mlpost.Cairost] | |
supported [Mlpost.Concrete] | |
T | |
tabular [Mlpost.Box] |
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).
|
tabulari [Mlpost.Box] |
similar to
tabular , but using a matrix defined with a function
|
tabularl [Mlpost.Box] |
similar to
tabular , but using lists instead of arrays
|
tex [Mlpost.Box] | tex s creates a new box containing the LaTeX string s
|
tex [Mlpost.Picture] |
Take a string in Latex format and transform it into a picture
|
to_box [Mlpost.Tree.Simple] | |
to_box [Mlpost.Tree] | |
to_metapath [Mlpost.Path] |
Obtain a metapath from a path with exactly the same
control point.
|
to_path [Mlpost.MetaPath] |
Compute the control point of the path
for a good looking result according to the constraint
on the direction, tension, curve
|
transform [Mlpost.Box] | |
transform [Mlpost.Picture] |
Apply a transformation to a picture
|
transform [Mlpost.Pen] |
Apply a transformation to pens
|
transform [Mlpost.Path] |
Apply a transformation to a path
|
transform [Mlpost.Point] |
Apply a transformation to a point
|
transparent [Mlpost.Color] | transparent f c multiplies by f the factor of transparency of c
|
triangle [Mlpost.Arrow] |
A simple arrow with a triangular head.
|
triangle_full [Mlpost.Arrow] |
A simple arrow with a triangular head filled with black.
|
two [Mlpost.Num] |
Shortcuts for
bp 0. , bp 1. and bp 2. .
|
U | |
ulcorner [Mlpost.Picture] |
These have been superseded by the preceding functions
|
unitsquare [Mlpost.Path] |
A full square of size 1 and centered on the origin
|
up [Mlpost.Point] | |
urcorner [Mlpost.Picture] | |
V | |
valign [Mlpost.Box] | |
vblock [Mlpost.Box] |
similar to
hblock , with vertical alignment.
|
vbox [Mlpost.Box] |
aligns the given boxes vertically and returns a box containing
these boxes as sub-components.
|
vbox_list [Mlpost.Box] | |
vec [Mlpost.Path] | |
vec [Mlpost.MetaPath] | |
vplace [Mlpost.Box] | |
W | |
west [Mlpost.Box] | |
west [Mlpost.Picture] | |
white [Mlpost.Color] | |
width [Mlpost.Box] |
return the width of the box
|
width [Mlpost.Picture] | |
withdots [Mlpost.Dash] |
The pattern composed of evenly spaced dots
|
X | |
xpart [Mlpost.Point] | xpart p is the x coordinate of point p
|
xscale [Mlpost.Box] | |
xscale [Mlpost.Picture] | |
xscale [Mlpost.Pen] |
Shortcuts for transformations of pens
|
xscale [Mlpost.Path] |
Shortcuts for transformations of Paths
|
xscale [Mlpost.Point] |
Scales the X coordinate of a point by a scalar
|
xscaled [Mlpost.Transform] |
Scale an object by a constant factor, but only in the
x direction
|
Y | |
yellow [Mlpost.Color] | |
ypart [Mlpost.Point] | ypart p is the y coordinate of point p
|
yscale [Mlpost.Box] | |
yscale [Mlpost.Picture] | |
yscale [Mlpost.Pen] | |
yscale [Mlpost.Path] | |
yscale [Mlpost.Point] |
Scales the Y coordinate of a point by a scalar
|
yscaled [Mlpost.Transform] |
Scale an object by a constant factor, but only in the
y direction
|
Z | |
zero [Mlpost.Num] | |
zscaled [Mlpost.Transform] |
Zscaled multiplies points of the object by the given point, using
"complex" multiplication:
(x,y) * (a,b) = (ax - by, bx + ay) ;
its effect is to rotate and scale so as to map (1,0) into (a,b)
|