Module Mlpost__.Picture_lib
type transform
= Mlpost__.Matrix.t
type num
= float
type dash
= float * num list
type pen
= transform
type color
= Mlpost__.Concrete_types.color
type path
= Mlpost__.Spline_lib.path
type interactive
type commands
=
|
Empty
|
Transform of transform * commands
|
OnTop of commands list
|
Tex of Mlpost__.Gentex.t
|
Stroke_path of path * color option * pen * dash option
|
Fill_path of path * color option
|
Clip of commands * path
|
ExternalImage of string * float * transform
type t
type id
= int
val content : t -> commands
val tex : Mlpost__.Gentex.t -> t
val fill_path : path -> color option -> t
val stroke_path : path -> color option -> pen -> dash option -> t
val draw_point : Mlpost__.Point_lib.t -> t
val default_line_size : float
val clip : t -> path -> t
val external_image : string -> [< `Exact of float * float | `Height of float | `Inside of float * float | `None | `Width of float ] -> t
val interactive : Mlpost__.Spline_lib.path -> id -> t
val on_top : t -> t -> t
val empty : t
val transform : Mlpost__.Matrix.t -> t -> t
val shift : t -> float -> float -> t
val apply_transform : Mlpost__.Matrix.t -> t -> t
val apply_transform_cmds : Mlpost__.Matrix.t -> commands -> commands
val iter : (commands -> unit) -> t -> unit
val bounding_box : t -> Mlpost__.Point_lib.t * Mlpost__.Point_lib.t
val baseline : t -> float list
module Dash : sig ... end
module Print : sig ... end