Index of values

 ( *./ ) [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_fig [Mlpost_lablgtk.Interface] add_fig get_fig add a new display window. 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] 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. assoq [Mlpost.Tree_adv.Overlays] returns the first element which is visible in the specification; raises Not_found if no element is visible B baselines [Mlpost.Concrete] Compute the baselines of a tex 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.Brush] black [Mlpost.Color] blue [Mlpost.Brush] 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] Draw an arrow between two boxes. 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] The base unit in Mlpost is bp. 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] classic [Mlpost.Arrow] A simple arrow with one line and two straight lines for the head. clear_dash [Mlpost.Box] clear_post_draw [Mlpost.Box] clear_pre_draw [Mlpost.Box] 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.Brush] color [Mlpost.Color] color n returns the RGB color associated to name n (as defined in /etc/X11/rgb.txt). color_gen [Mlpost.Color] combine [Mlpost.Tree_adv] Transform a pair of trees into a tree of pairs. 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. compute_nums [Mlpost.Concrete] The value of a num in bp 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 create_option [Mlpost_lablgtk.Interface] create_option ~label value_list adds to the control window a radio menu item. create_text [Mlpost_lablgtk.Interface] create_text ~label get set adds to the control window a text input. ctr [Mlpost.Box] ctr [Mlpost.Picture] ctransform_of_transform [Mlpost.Concrete] curl [Mlpost.Path] curl [Mlpost.MetaPath] curve [Mlpost.Real_plot] create a curve from a function and some information of drawing curve_l [Mlpost.Real_plot] create a curve from multiple function and some information of drawing. curve_opt [Mlpost.Real_plot] create a curve from a function and some information of drawing. 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.Brush] 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.Brush] darkgray [Mlpost.Color] dash [Mlpost.Brush] default [Mlpost.Color] the default color is black 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.Real_plot] draw [Mlpost.Diag] Draws the diagram. draw [Mlpost.Tree_adv] Draws a tree that has already been placed when one knows how to draw its elements. 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_mp [Mlpost.Metapost] dump_pdf [Mlpost.Cairost] dump_pdfs [Mlpost.Cairost] Use the figures recorded by the function emit of metapost dump_png [Mlpost.Cairost] dump_png [Mlpost.Metapost] dump_ps [Mlpost.Cairost] dump_svg [Mlpost.Cairost] 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. em [Mlpost.Num] the width of an "m" 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] ex [Mlpost.Num] the height of an "x" explicit [Mlpost.Transform] externalimage [Mlpost.Command] insert an image given its filename - *EXPERIMENTAL* F fill [Mlpost.Command] Fill a contour given by a closed path fill [Mlpost.Path] Fill a contour given by a closed path filter [Mlpost.Tree_adv] filter f t If for a node n of t f n is false then it doesn't appear in the result as well as its descendants. filter_option [Mlpost.Tree_adv] Suppress a subtree depending on a condition on the node float_of_num [Mlpost.Concrete] Compute the concrete value fold [Mlpost.Tree_adv] Traverse the tree in a bottom-up, left-to-right order fold_left [Mlpost.Concrete.CPath] fold on all the splines of a path fullcircle [Mlpost.Path] A full circle of radius 1 and centered on the origin G gen_draw_arrows [Mlpost.Tree_adv] draws arrows from a node to its children with a given style gen_place [Mlpost.Tree_adv.Place] This is a generic function for placing trees, provided that the user can give us the following functions: 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_dash [Mlpost.Box] 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.Brush] gray [Mlpost.Color] green [Mlpost.Brush] 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] halign ~pos y l vertically moves the boxes in l such that the vertical position given by pos is equal to y. 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] places the given boxes horizontally, aligning them horizontally, and returns a box containing these boxes as sub-components. hbox_list [Mlpost.Box] as hbox, but does not group the resulting boxes into a surrounding box; it returns the list of placed boxes instead. 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] height [Mlpost.Signature.Boxlike] hplace [Mlpost.Box] hplace l places the boxes of l horizontally, from left to right following the order of list elements, without changing their vertical position. hsv [Mlpost.Color] hsv h s v convert an hsv color to an rgb. I id [Mlpost.Transform] The identity transformation if_null [Mlpost.Num] if_null n n1 n2 is equal to n1 if n is null, n2 othewise 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. in_interval [Mlpost.Tree_adv.Overlays] test if an integer is in an interval 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.Brush] lightblue [Mlpost.Color] lightcyan [Mlpost.Brush] lightcyan [Mlpost.Color] lightgray [Mlpost.Brush] lightgray [Mlpost.Color] lightgreen [Mlpost.Brush] lightgreen [Mlpost.Color] lightmagenta [Mlpost.Brush] lightmagenta [Mlpost.Color] lightred [Mlpost.Brush] lightred [Mlpost.Color] lightyellow [Mlpost.Brush] lightyellow [Mlpost.Color] llcorner [Mlpost.Picture] lrcorner [Mlpost.Picture] M magenta [Mlpost.Brush] magenta [Mlpost.Color] main [Mlpost_lablgtk.Interface] Start the main loop. make [Mlpost.Picture] Make a picture from a drawing command make_head [Mlpost.Arrow] Head description constructor. map [Mlpost.Tree_adv] apply a function everywhere in the tree map2 [Mlpost.Tree_adv] map2 f takes two trees of identical structure and applies the function f to every pair of nodes. map_bp [Mlpost.Point] map_children [Mlpost.Tree_adv] map_children f t calls f node children for each node of t and its children. map_cm [Mlpost.Point] map_in [Mlpost.Point] map_mm [Mlpost.Point] map_pt [Mlpost.Point] max [Mlpost.Tree_adv.Overlays] given a function to compute a numeric from an 'a, and a list of objects ('b,'a), return the maximal numeric from that list; intended to be used with width and height functions for objects and with a 'a spec list max_interval [Mlpost.Tree_adv.Overlays] The dual of min_interval max_tree [Mlpost.Tree_adv.Overlays] The last moment of the tree to appear, not considering Nev and Alw maxn [Mlpost.Num] mediumgray [Mlpost.Brush] mediumgray [Mlpost.Color] min_interval [Mlpost.Tree_adv.Overlays] The minimum between the integer argument and the beginning of the interval; returns the integer argument in the cases Nev and Alw min_tree [Mlpost.Tree_adv.Overlays] The first moment of the tree to appear, not considering Nev and Alw 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. mknode [Mlpost_dot.Dot.Make] creates an abstract node from a boxlike 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] new_interface [Mlpost_lablgtk.Interface] create a new interface with an empty control window 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] a simple tree placement algorithm: align all subtrees horizontally , and place the parent node above. 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 normalize [Mlpost.Point] Normalize the vector represented by the point. 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_float [Mlpost.Num] Convert a float into a Num.t of_metapath [Mlpost.Path] of_path [Mlpost.MetaPath] Obtain a metapath from a path with exactly the same control point. 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] opposite_position [Mlpost.Box] Return the opposite position of a position (west for east, southeast for northwest, center for center, ...). orange [Mlpost.Brush] 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 pen [Mlpost.Brush] pi [Mlpost.Num] 3 .14159 pic [Mlpost.Box] pic p creates a new box containing the picture p place [Mlpost_dot.Dot.Make] place ~orient nodes edges returns a concrete representation of the abstract directed graph composed by nodes linked by edges. place [Mlpost.Tree_adv.Place] This is an instance of gen_place using the tree drawing algorithm from the module Tree. place [Mlpost.Box] Place a box relatively to another box. 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.Brush] 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.Brush] red [Mlpost.Color] reflect [Mlpost.Transform] Reflect an object with respect to the line that goes through the two given points remove_fig [Mlpost_lablgtk.Interface] remove_fig gen_fig removes a display window created by add_fig gen_fig 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] root_map [Mlpost.Tree_adv] root_map f t calls f (Some father) node for each node of t and its father. rotate [Mlpost.Box] rotate [Mlpost.Picture] 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.Path] scale [Mlpost.Point] Multiply a point by a scalar scaled [Mlpost.Transform] Scale an object by a constant factor. 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_dash [Mlpost.Box] set_filename_prefix [Mlpost.Metapost] Add to the filename given to the emit function this prefix. 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_pos [Mlpost.Tree_adv.Overlays] Given a function to move objects of type 'a, return a function to move functions of type 'a spec set_pos [Mlpost.Box] same as center set_pos [Mlpost.Picture] alias of center set_pos [Mlpost.Signature.Boxlike] set_post_draw [Mlpost.Box] set_pre_draw [Mlpost.Box] set_prelude [Mlpost.Concrete] set_prelude filename uses the prelude of the file filename for compilation of the tex snippets set_prelude2 [Mlpost.Concrete] set_prelude2 prelude uses this prelude for compilation of the tex snippets set_size [Mlpost.Box] set_stroke [Mlpost.Box] set_t1disasm [Mlpost.Concrete] Deprecated in a next release set_verbosity [Mlpost.Concrete] Some options (the mlpost tool takes care of them) set_verbosity [Mlpost.Command] Set the verbosity of all mlpost 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.Path] shift [Mlpost.Point] Sum two points shifted [Mlpost.Transform] Shift an object with respect to a point 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] split [Mlpost.Tree_adv] Transform a tree of pairs into a pair of trees. 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 b 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 t [Mlpost.Brush] 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.Path] Apply a transformation to a path transform [Mlpost.Point] Apply a transformation to a point transform_of_ctransform [Mlpost.Concrete] 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] the vertical counterpart of valign. 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] the vertical counterpart of hplace W west [Mlpost.Box] west [Mlpost.Picture] white [Mlpost.Brush] white [Mlpost.Color] width [Mlpost.Box] return the width of the box width [Mlpost.Picture] width [Mlpost.Signature.Boxlike] wrap_corner_box [Mlpost.Tree_adv] wrap_corner_box give_box f returns f where its argument corner has been set X xpart [Mlpost.Point] xpart p is the x coordinate of point p xscale [Mlpost.Box] xscale [Mlpost.Picture] 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.Brush] yellow [Mlpost.Color] ypart [Mlpost.Point] ypart p is the y coordinate of point p yscale [Mlpost.Box] yscale [Mlpost.Picture] 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)