[−][src]Crate iced_graphics
A bunch of backend-agnostic types that can be leveraged to build a renderer
for iced.
Re-exports
pub use widget::*; |
pub use backend::Backend; |
pub use defaults::Defaults; |
pub use layer::Layer; |
Modules
| backend | Write a graphics backend. |
| defaults | Use default styling attributes to inherit styles. |
| font | Find system fonts or use the built-in ones. |
| layer | Organize rendering primitives into a flattened list of layers. |
| overlay | Display interactive elements on top of other widgets. |
| triangle | Draw geometry using meshes of triangles. |
| widget | Use the widgets supported out-of-the-box. |
| window | Draw graphics to window surfaces. |
Structs
| Color | A color in the sRGB color space. |
| Point | A 2D point. |
| Rectangle | A rectangle. |
| Renderer | A backend-agnostic renderer that supports all the built-in widgets. |
| Size | An amount of space in 2 dimensions. |
| Transformation | A 2D transformation matrix. |
| Vector | A 2D vector. |
| Viewport | A viewing region for displaying computer graphics. |
Enums
| Antialiasing | An antialiasing strategy. |
| Background | The background of some element. |
| Font | A font. |
| HorizontalAlignment | The horizontal alignment of some resource. |
| Primitive | A rendering primitive. |
| VerticalAlignment | The vertical alignment of some resource. |