| Value | Description |
val align : scene -> float -> float * float -> float * float -> scene |
Place the given scene graph at the given position with the given alignment.
|
val bottom_of : (scene -> float) |
Calculate the y-coordinate of the bottom edge of a scene graph.
|
val bound_of : (scene -> t) |
Calculate the bound of a scene graph.
|
val curve_to : float -> float -> float -> float -> float -> float -> t |
Create a Bezier curve path segment with the given two control points and end point.
|
val float_label : float -> float -> float * float -> float * float -> scene |
Place a typeset float with the given size, position and alignment.
|
val height_of : (scene -> float) |
Calculate the height of a scene graph.
|
val label : math -> float -> float * float -> float * float -> scene |
Place math with the given size, position and alignment.
|
val left_of : (scene -> float) |
Calculate the x-coordinate of the left edge of a scene graph.
|
val line_to : float -> float -> t |
Create a straight line path segment.
|
val parse : string -> geometry |
Parse a string into a geometry.
|
val right_of : (scene -> float) |
Calculate the x-coordinate of the right edge of a scene graph.
|
val Run : unit -> unit |
Remove the dummy window and join with the GUI thread to continue
execution until the GUI has completed.
|
val scale : float * float -> Matrix |
Create a scale matrix.
|
val scene : 'a -> scene |
Try to typeset a value of any type.
|
val top_of : (scene -> float) |
Calculate the y-coordinate of the top edge of a scene graph.
|
val transform : Matrix -> float * float -> float * float |
Transform a point represented by a 2-tuple.
|
val translate : float * float -> Matrix |
Create a translation matrix.
|
val View : 'a -> View | |
val width_of : (scene -> float) |
Calculate the width of a scene graph.
|