[Home] Module FlyingFrog.Graphics


Modules (as contributed by assembly 'FSharpForVisualization')

ModuleDescription
FlyingFrog.Graphics.Bound Axis-aligned bounding box.
FlyingFrog.Graphics.Contour Contour as open or closed sequences of path segments.
FlyingFrog.Graphics.Fill Some predefined fill styles.
FlyingFrog.Graphics.Segment Path segment.
FlyingFrog.Graphics.Typeset Typeset mathematics.

Type Definitions

TypeDescription
type geometry Path geometry as a list of contours. Note: an abbreviation for t list
type IViewControl All controls that can be visualized interactively must implement this interface.
type Plot Visualize a 2D function plot interactively.
type PlotComponent Function or data for plotting
type PlotControl Windows Presentation Foundation control for 2D function plotting.
type scene Scene graph of a 2D vector graphic.
type SpawnWindow Encapsulation of a 2D visualization.
type stroke Parameters of a stroke.
type style Style for either filling the interior of a geometry or stroking its skeleton.
type View Visualize a 2D scene interactively.
type ViewControl Windows Presentation Foundation control for the visualization of 2D vector graphics.

Values

ValueDescription
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.

See Also

FlyingFrog


Documentation for assembly FSharpForVisualization, version 0.4.0.0, generated using F# Programming Language version 1.9.6.16