|
Graphics.FieldTrip.Geometry2 | Stability | experimental | Maintainer | conal@conal.net, andygill@ku.edu |
|
|
|
|
|
Description |
2D geometry
|
|
Synopsis |
|
|
|
Documentation |
|
|
2D geometry
In the Monoid instance, mempty is completely invisible (aka
transparent or empty), and a mappend b places a on top of b.
| Instances | |
|
|
|
Make a geometry from a rendering action. The action must leave graphics
state as it found it.
|
|
|
Render the geometry, given a graphics context. Leaves graphics state unchanged.
|
|
|
Render the geometry with default graphics context. See also renderWith2.
|
|
|
Box2 of unit width and height. See also 'box2.
|
|
|
Box2 of given width and height. See also 'ubox2.
|
|
|
Approximate one geometry by another, given an error bound
|
|
|
The unit disk, approximated as regular n-gons
|
|
|
A polygon
|
|
|
Regular polygon
|
|
|
Portion of a disk
|
|
|
Regular polygon wedge. Oops! only works for frac <= 1/2, since
otherwise the polygon is non-convex.
|
|
Text
|
|
|
The passed string of text centered at the origin with height 1.0
|
|
|
The width of the geometry of utext of that string.
|
|
|
The height of the baseline of geometry created by utext. This can be
used for underlining, for example.
|
|
Geometry2 filters
|
|
|
Geometry2 filter
|
|
|
Simplified interface to translate2
|
|
|
Specializations of move2
|
|
|
A geometry plus its a rotated-by-pi version.
|
|
Produced by Haddock version 2.3.0 |