Expand description
This crate provides a data structure for text alignment. Rectangular Panes (which may have smaller, child Panes)
can be defined, and the positions of characters of text within them can be calculated.
The graphics feature, which is on by default, allow the direct rendering of a Pane with the piston2d-graphics crate.
Modules
Defines serveral color constants
Traits for doing vector geometry with built-in types
A prelud containing commonly used items in
PaneStructs
A basic implememntor for
CharacterWidthCacheA rectangle which automatically determines the positions and sizes
of things withing it
A format for some text
Enums
Possible content of a
PaneA horizantal text justification
An orientation for splitting a
PaneA way of resizing text in a rectangle
Traits
Defines behavior of a cache of character widths.
Defines conversion into a child
Pane with a weight and optional nameFunctions
Draw justified text to something using the
piston2d-graphics crateType Definitions
A color
Lines that have starting positions