Module i_slint_core::item_rendering
source · [−]Expand description
module for rendering the tree of items
Structs
This structure must be present in items that are Rendered and contains information. Used by the backend.
Put this structure in the renderer to help with partial rendering
Traits
Trait used to render each items.
Functions
Compute the bounding rect of all children. This does /not/ include item’s own bounding rect. Remember to run this
via evaluate_no_tracking
.
Renders the tree of items that component holds, using the specified renderer. Rendering is done relative to the specified origin.
Renders the children of the item with the specified index into the renderer.
Type Definitions
FIXME: Should actually be a region and not just a rectangle
The cache that needs to be held by the Window for the partial rendering