package patoline

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type info = {
  1. params : Patoraw.RawContent.path_param;
  2. mainAnchor : anchor;
  3. innerSep : float;
  4. outerSep : float;
  5. bb : float * float * float * float;
  6. center : Point.t;
  7. pdfAnchor : Point.t;
  8. node_contents : Patoraw.RawContent.raw list;
  9. button : (Patoraw.RawContent.button_kind * string) option;
  10. innerCurve : Curve.t;
  11. midCurve : Curve.t;
  12. outerCurve : Curve.t;
  13. anchor : anchor -> Point.t;
  14. decorations : decoration list;
  15. node_anchor : anchor;
  16. at : Point.t;
  17. z : float;
}
and decoration =
  1. | Curve of Patoraw.RawContent.path_param * Curve.t
  2. | Node of info
type t = info
val default_params : Patoraw.RawContent.path_param
val default : info
val coord : Point.t -> info
val coord3d : Proj3d.projection -> (float * float * float) -> info
val decoration_to_contents : info -> decoration -> Patoraw.RawContent.raw list
val to_contents : info -> Patoraw.RawContent.raw list
val to_gentity : info -> Gentity.t
module Transfo : sig ... end
val transfo : ?dump_contents:bool -> Transfo.Style.t list -> info -> info
val params_pet : Transfo.Pet.t
val lineWidth : float -> Transfo.Style.t
val dashed : float list -> Transfo.Style.t
val dashed_pet : Transfo.Pet.t
val draw : Transfo.Style.t
val setZ : float -> Transfo.Style.t
val setZ_pet : Transfo.Pet.t
val draw_pet : Transfo.Pet.t
val fill_pet : Transfo.Pet.t
val color_pet : Transfo.Pet.t
val contents_outputcommon : Patoraw.RawContent.raw list -> Transfo.Style.t
val contents_pet : Transfo.Pet.t
val contents_box : Document.environment -> Box.box list -> Transfo.Style.t
val innerSep : float -> Transfo.Style.t
val inner_sep_pet : Transfo.Pet.t
val outerSep : float -> Transfo.Style.t
val outer_sep_pet : Transfo.Pet.t
val mainAnchor : anchor -> Transfo.Style.t
val main_anchor_pet : Transfo.Pet.t
module BB : sig ... end
val boundingBox : ((float * float * float * float) -> float * float * float * float) -> Transfo.Style.t
val bounding_box_pet : Transfo.Pet.t
val getMainAnchor : info -> anchor
val ray_intersect : (float * float) -> (float array * float array) list -> float -> float * float
val shape_pet : Transfo.Pet.t
val button : (unit -> Patoraw.RawContent.write) -> Transfo.Style.t
val button_pet : Transfo.Pet.t
val drag : ((float * float) -> bool -> unit) -> Transfo.Style.t
val drag_pet : Transfo.Pet.t
val default_shape : Document.environment -> Transfo.Style.t
val default_rectangle : Document.environment -> info
val kappa : float
val circle : Transfo.Style.t
val float_div : float -> float -> int * float
val pmod_float : float -> float -> float
val nat_mod : int -> int -> int
val scal_prod : (float * float) -> (float * float) -> float
val triangle : ?orientation:float -> ?apex_angle:float -> Document.environment -> Transfo.Style.t
val translate : (float * float) -> info -> info
val anchor : anchor -> Transfo.Style.t
val anchor_pet : Transfo.Pet.t
val at : (float * float) -> Transfo.Style.t
val at_pet : Transfo.Pet.t
val at3d : Proj3d.projection -> (float * float * float) -> Transfo.Style.t
val at3d_pet : Transfo.Pet.t
val make_output : Transfo.Style.t list -> Patoraw.RawContent.raw list -> info
val make_boxified : Document.environment -> Transfo.Style.t list -> Box.box list -> info
val label : Document.environment -> ?pos:anchor -> ?style:Transfo.Style.t list -> Document.content list -> Transfo.Style.t
val label_pet : Transfo.Pet.t
val inter : Gentity.t -> Gentity.t -> (float * float) list
OCaml

Innovation. Community. Security.