package eio-trace

  1. Overview
  2. Docs
type t = {
  1. mutable layout : Layout.t;
  2. mutable width : float;
  3. mutable height : float;
  4. mutable start_time : float;
  5. mutable scroll_y : float;
  6. mutable pixels_per_ns : float;
  7. mutable zoom : float;
}
val h_margin : float
val v_margin : float
val pixels_per_row : float
val clamp : min:float -> max:float -> float -> float
val x_of_time : t -> float -> float
val time_of_x : t -> float -> float
val width_of_timespan : t -> float -> float
val timespan_of_width : t -> float -> float
val grid : t -> float -> float * float * float
val zoom_to : t -> float -> unit
val zoom : t -> float -> unit
val set_duration : t -> float -> unit
val get_duration : t -> float
val zoom_to_fit : ?start_time:float -> ?duration:float -> t -> unit
val max_x_scroll : t -> float
val max_y_scroll : t -> float
val scroll_bounds : t -> (float * float * float * float) * (float * float * float * float)
val set_start_time : t -> float -> float
val set_scroll_y : t -> float -> float
val set_size : t -> float -> float -> unit
val of_layout : Layout.t -> width:float -> height:float -> t
val set_layout : t -> Layout.t -> unit
OCaml

Innovation. Community. Security.