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.
  • A region composed of a few rectangles that need to be redrawn.
  • A per-item cache.
  • Put this structure in the renderer to help with partial rendering

Traits§

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 Aliases§