Expand description
Logical-pixel layout shared by software rendering and input hit testing.
Re-exports§
pub use file_drop::FileDragInput;pub use file_drop::FileDropScope;pub use label::LabelLayout;pub use label::LabelLine;pub use label::LabelPlan;pub use label::PlannedLabelLine;pub use label::uses_label_layout;pub use menu::MenuEntry;pub use menu::MenuKey;pub use menu::MenuPanel;pub use menu::MenuRow;pub use pointer_events::PointerDelivery;pub use pointer_events::PointerSequence;pub use pointer_events::pointer_click_follows;pub use range::ColorPlaneGeometry;pub use range::DialGeometry;pub use range::SliderGeometry;pub use selection::TAB_LABEL_SIZE;pub use selection::tab_content_rect;pub use table::TableGeometry;pub use text_area::TextAreaLayout;pub use text_area::TextAreaMotion;pub use tooltip::TooltipPopup;pub use tooltip::layout_tooltip;
Structs§
- Affine
- Maps pre-transform layout coordinates to another coordinate space.
- Button
Content - Shared intrinsic content for button measurement and painting.
- Button
Placement - Areas used by the built-in button icon and label.
- Calendar
Day - Calendar
Geometry - Calendar
Week - Choice
Menu - Color
Plane Geometry - Shared geometry for the saturation and brightness color field.
- Combo
Completion - The exact candidate and draft boundary displayed for one focused control.
- Combo
Geometry - Control
Input - Dial
Geometry - The dial arc shared by hit testing, dragging and painting.
- Drag
Dispatch - Drag
Update - File
Drop Scope - The interaction gates needed for a synchronous native drag acceptance query.
- Focus
Delivery - Focus
Observers - Publish focus to reactive handles before delivering the corresponding events.
- Hover
Delivery - Hover
Observers - Resolve hover in a prepared frame and publish all state before delivering events.
- Image
Placement - Image
Presentation - Presentation options shared by atlas regions, animations and full images.
- Image
Region - The visible part of an image in integer source pixels.
- Interaction
- KeyRoute
- The focus path for a single keyboard event.
- Label
Layout - The same line plan is used for intrinsic measurement and GPU painting.
- Label
Line - Label
Plan - Text ranges shared by plain and styled labels, independent of the shaping backend.
- Layout
Node - Layout
Observers - List
Section Header - Visible inline or pinned section heading in a prepared list viewport.
- Menu
Entry - Identity of a displayed menu row, including the label used to guard late actions.
- Menu
Panel - MenuRow
- Menu
Shortcut - Page
Indicator Geometry - A bounded window of markers. Painting and pointer selection use the same slots.
- Page
Marker - A logical page index and its marker in the current viewport.
- Password
Mask - Display coordinates and committed UTF-8 offsets for one marker per grapheme.
- Planned
Label Line - Point
- Pointer
Delivery - Pointer
Sequence - One physical contact, tied to the handler and model row that received Down.
- Range
Input - Rect
- Rounded
Clip - A child clip in window coordinates, with corners clockwise from the top left.
- Scale
Rotate Target - Scroll
BarGeometry - An overlay scroll bar whose track and thumb use the viewport’s logical pixels.
- Scroll
Delivery - Delivery is tied to the component instance that consumed the input.
- Scroll
Gesture End - Scroll
Layout - Search
Geometry - Shortcut
Modifiers - Size
- Slider
Geometry - Shared thumb travel for hit mapping and painting.
- Spin
Geometry - Split
Geometry - Split
Handle - Split
Handle Range - The leading pane’s size and reachable range in logical pixels.
- Split
Resize - Stack
Slide - A stack’s paint-only motion. Offsets and clip ranges are fractions of the moving axis.
- Stack
Transitions - Keeps outgoing pages separate from the active scene, focus order, and modal stack.
- Styled
Fragment - One shaped span in visual order. Bounds are local to the label.
- Styled
Text Layout - Final text geometry consumed by painting, hit testing and accessibility.
- Swipe
Delegate Geometry - Swipe
Delivery - Table
Edit Target - Table
Geometry - Shared by the row layout, header painting, and header hit testing.
- Table
Paste Destination - The focused table and the start of a paste in visual column order.
- Target
- Text
Area Layout - The same visual lines drive hit testing, selection, and drawing.
- Text
Edit - Text
Edit Context - The focused editor and selection at the start of an asynchronous edit.
- Text
Link Target - Retains the document seen when the target was resolved. A replacement document must never turn an in-flight action into activation of a new link.
- Text
Position - A logical offset with affinity to the preceding grapheme at a bidi or wrap boundary.
- Tooltip
Popup - Touch
Transform - Track angle deltas across the ±180° boundary while measuring scale from the start.
- Tree
RowGeometry - Tumbler
Geometry - Tumbler
Row - Visual
Grapheme - One grapheme’s logical byte range and its two visual edges.
- Visual
Text Line - Maps logical grapheme boundaries to the advances of a shaped visual line.
- Wheel
Route - The inner-to-outer delivery path of one wheel event.
Enums§
- Activation
Key - Button
Hold Event - Choice
Key - Edit
Action - Edit
Source - The source of an edit determines whether it can merge with preceding typing.
- File
Drag Input - Native file drags carry a batch and a window-local position.
- MenuKey
- Navigation
Key - Scroll
BarUpdate - Scroll
Gesture Kind - Shortcut
Key - Shortcut
Outcome - Routing result for one chord in the active window scope.
- Table
Edit Commit - Table
Selection Key - Text
Area Motion - Tumbler
Scroll - Wheel
Adjustment - Window
Resize Edge
Constants§
Traits§
Functions§
- child_
reading_ order - Child indices in visual reading order. Paths keep their original scene indices.
- corner_
radii - dialog_
title_ height - drawer_
grip - Visual handle within the swipe-sensitive inner edge of an open drawer.
- fitted_
rect - font_
size - group_
header - The header remains enabled when the content is disabled.
- is_
layout - layout
- Root dimensions come from the actual viewport; DSL dimensions size the initial window.
- layout_
tooltip - Place a tooltip surface in window coordinates, using the normal text and layout engine.
- layout_
with_ input - layout_
with_ scroll - normalize_
radii - pointer_
click_ follows - prepare_
scene - Resolve virtual rows after laying out the viewport containers. Row contents have no effect on the indexed row heights or scroll extent.
- prepare_
scene_ with_ input - swipe_
view_ selection - Resolve a physical navigation direction against the currently available pages.
- tab_
content_ rect - Reserve the logical trailing strip for a close button.
- tile_
extent - touch_
centroid - uses_
label_ layout
Type Aliases§
- Overscroll
Frame - Visual displacement only. Logical scroll ranges stay in ScrollLayout.
- Slider
Key - Viewport
Observers