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§

  • Trait used to render each items.
  • Trait for an item that represent a Rectangle to the Renderer
  • Trait for an item that represents an Image towards the renderer
  • Trait for an item that represents an Text towards the renderer

Functions§

  • Return true if the item might be a clipping item
  • 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§