You can search for identifiers within the package.
in-package search v0.2.0
tiny_appkits.appkit_draw
Figure
type point = float * float
type box = {
x0 : float;
y0 : float;
x1 : float;
y1 : float;
}
val box : point -> point -> box
type style = {
fill : float option;
pen : float;
type t =
| Line of point * point * style
| Rect of box * style
| Oval of box * style
| Text of box * string * float
| Group of t list
val bounds : t -> box
val union : box -> box -> box
val hit : tolerance:float -> t -> point -> bool
val translate : float -> float -> t -> t
val fit : box -> t -> t
val handles : t -> point list
val drag_handle : t -> int -> point -> t
val restyle : (style -> style) -> t -> t