Module primitives

Source
Expand description

Low-level draw helpers (icon, rect, spacer). Primitive shapes and icons (direct DrawCmd helpers and Icon widget).

Re-exports§

pub use icon::draw_icon;
pub use icon_widget::Icon;
pub use image::draw_image;
pub use image::ImageRef;
pub use rect::draw_rect;
pub use rounded_rect::draw_rounded_rect;

Modules§

icon
Direct icon draw-command construction without a retained widget.
icon_widget
Retained square icon widget for font glyphs and embedded SVG sources.
image
Provider-neutral image references and their current draw-command mapping.
rect
Direct axis-aligned rectangle command construction.
rounded_rect
Direct rounded-rectangle command construction.
spacer
Layout-only flexible spacer value.