type t = Command.tThe abstract type of pictures
val make : Command.t -> tMake a picture from a drawing command
val tex : string -> tTake a string in Latex format and transform it into a picture
val transform : Transform.t -> t -> tApply a transformation to a picture
val bbox : t -> Path.tGet the bounding box of a picture (with default padding, as in MetaPost)
val corner_bbox : ?dx:Num.t -> ?dy:Num.t -> t -> Path.tGet the bounding box of a picture, according to its corners and supplied padding dx and dy.
val center : Point.t -> t -> tPlace a picture centered at some point
val place_up_left : Point.t -> t -> tPlace a picture with its upper left corner at some point
val place_up_right : Point.t -> t -> tPlace a picture with its upper right corner at some point
val place_bot_left : Point.t -> t -> tPlace a picture with its bottom left corner at some point
val place_bot_right : Point.t -> t -> tPlace a picture with its bottom right corner at some point
val beside : t -> t -> tbeside p1 p2 returns a picture in which p2 is placed right to p1
val below : t -> t -> tbelow p1 p2 returns a picture in which p2 is placed below p1
Special points of the bounding box of a picture (Deprecated)
val ulcorner : t -> Point.tThese have been superseded by the preceding functions
val llcorner : t -> Point.tval urcorner : t -> Point.tval lrcorner : t -> Point.tval clip : t -> Path.t -> tclip pic path limits pic to the cyclic path path; all elements outside of path are cut off.
val width : t -> Num.tval height : t -> Num.t
val scale : Num.t -> t -> tval rotate : float -> t -> tval shift : Point.t -> t -> tval yscale : Num.t -> t -> tval xscale : Num.t -> t -> tval spin : float -> t -> t
type escaped = [ | `Backslash |
| `Underscore |
]
val escape_latex : escaped list -> string -> stringval escape_all : string -> stringval set_pos : Point.t -> t -> talias of center