[−][src]Crate pane
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.
Re-exports
pub use self::color::Color; |
Modules
| color | Defines serveral color constants |
| math | Traits for doing vector geometry with built-in types |
| prelude | A prelud containing commonly used items in |
Structs
| Glyphs | A basic implememntor for |
| Pane | A rectangle which automatically determines the positions and sizes of things withing it |
| TextFormat | A format for some text |
Enums
| Contents | Possible content of a |
| Justification | A horizantal text justification |
| Orientation | An orientation for splitting a |
| Resize | A way of resizing text in a rectangle |
Traits
| CharacterWidthCache | Defines behavior of a cache of character widths. |
| NamedWeightedPane | Defines conversion into a child |
Functions
| justified_text | Draw justified text to something using the |
Type Definitions
| PositionedLines | Lines that have starting positions |