Module Mlpost__Triangle

type t = Mlpost.Box.t
val draw : ?⁠debug:bool -> Mlpost.Box.t -> Mlpost__.Types.commandpic
val create : ?⁠brush:Mlpost__.Types.brush -> ?⁠stroke:Mlpost__.Types.color option -> ?⁠pen:Mlpost__.Types.pen -> ?⁠dash:Mlpost__.Types.dash -> ?⁠fill:Mlpost.Color.t -> ?⁠left:float -> ?⁠right:float -> ?⁠width:Mlpost.Num.t -> depth:Mlpost.Num.t -> unit -> Mlpost.Box.t

width defaults to depth

val root : Mlpost.Box.t -> Mlpost.Point.t
val bottom_left : Mlpost.Box.t -> Mlpost.Point.t
val bottom_right : Mlpost.Box.t -> Mlpost.Point.t
val root_label : ?⁠pos:Mlpost__.Types.position -> Mlpost__.Types.commandpic -> Mlpost.Box.t -> Mlpost.Box.t
val tex_root_label : ?⁠pos:Mlpost__.Types.position -> string -> Mlpost.Box.t -> Mlpost.Box.t
val x_depth : ?⁠x:float -> ?⁠depth:float -> Mlpost.Box.t -> Mlpost__.Point_lib.t

point (x,depth) in a term

val label : ?⁠x:float -> ?⁠depth:float -> ?⁠pos:Mlpost__.Types.position -> Mlpost__.Types.commandpic -> Mlpost.Box.t -> Mlpost.Box.t
val tex_label : ?⁠x:float -> ?⁠depth:float -> ?⁠pos:Mlpost__.Types.position -> string -> Mlpost.Box.t -> Mlpost.Box.t
val anchor : ?⁠x:float -> ?⁠depth:float -> Mlpost.Box.t -> Mlpost.Box.t -> Mlpost.Box.t

move root of t1 to point (depth,x) in t2

val pose : ?⁠x:float -> ?⁠depth:float -> Mlpost.Box.t -> Mlpost.Box.t -> Mlpost.Box.t
val pose_left : ?⁠x:float -> ?⁠depth:float -> Mlpost.Box.t -> Mlpost.Box.t -> Mlpost.Box.t
val pose_right : ?⁠x:float -> ?⁠depth:float -> Mlpost.Box.t -> Mlpost.Box.t -> Mlpost.Box.t
val pic : ?⁠brush:Mlpost__.Types.brush -> ?⁠stroke:Mlpost__.Types.color option -> ?⁠pen:Mlpost__.Types.pen -> ?⁠dash:Mlpost__.Types.dash -> ?⁠fill:Mlpost.Color.t -> ?⁠dx:float -> ?⁠dy:float -> Mlpost__.Types.commandpic -> Mlpost.Box.t
val tex : ?⁠brush:Mlpost__.Types.brush -> ?⁠stroke:Mlpost__.Types.color option -> ?⁠pen:Mlpost__.Types.pen -> ?⁠dash:Mlpost__.Types.dash -> ?⁠fill:Mlpost.Color.t -> ?⁠dx:float -> ?⁠dy:float -> string -> Mlpost.Box.t