[−][src]Module xfpl::drawable
Re-exports
pub use colored_text::ColoredText; |
pub use text::Text; |
pub use nothing::Nothing; |
Modules
colored_text | |
nothing | |
text |
Structs
Bounded | Assigns bounds to a drawable item. This causes the item to have a different apparent size (but does not actually clip the size of the item, use Clipped for that). |
Clipped | Clip a drawable item to a given size. This basically crops the item to the given size, discarding anything that is not within bounds. |
Fill | Fill everything with a solid colour. |
SVG | |
Scaled | Scales an item by a given factor. |
Traits
CloneDrawable | |
Drawable | Represents something that can be drawn on a Cairo surface. This must be something that doesn't move or change, otherwise use the Animated trait. |