Expand description
Handles the UI layout and UI layout solver
Structs§
- Computed
Transform3D - Computed transform of pixels in pixel space
- External
Scroll Id - GpuEvent
Changes - GpuValue
Cache - Height
Calculated Rect - Height
Solved Result - HitTest
- Horizontal
Solved Position - Inline
Text Layout - Inline
Text Layout Vec - Inline
Text Line - NOTE: The bounds of the text line is the TOP left corner (relative to the text origin), but the word_position is the BOTTOM left corner (relative to the text line)
- Inline
Text Line Vec - Layout
Result - Overflow
Info - Overflowing
Scroll Node - Position
Info Inner - Positioned
Rectangle - Quick
Resize Result - Relayout
Changes - Resolved
Offsets - Resolved
Text Layout Options - Same as
TextLayoutOptions
, but with the widths / heights of thePixelValue
s resolved to regular f32s (becauseletter_spacing
,word_spacing
, etc. may be %-based value) - Scrolled
Nodes - Style
BoxShadow Offsets - Text
Layout Options - Layout options that can impact the flow of word positions
- Vertical
Solved Position - Width
Calculated Rect - Width
Solved Result
Enums§
- Directional
Overflow Info - GpuOpacity
KeyEvent - GpuTransform
KeyEvent - Inline
Text Layout VecDestructor - Inline
Text Line VecDestructor - Option
Position Info - Option
Resolved Text Layout Options - Position
Info - Rotation
Mode - For some reason the rotation matrix for webrender is inverted: When rendering, the matrix turns the rectangle counter-clockwise direction instead of clockwise.
- WhConstraint
Constants§
- DEFAULT_
FONT_ ID - DEFAULT_
FONT_ SIZE - DEFAULT_
FONT_ SIZE_ PX - DEFAULT_
LETTER_ SPACING - DEFAULT_
LINE_ HEIGHT - DEFAULT_
TAB_ WIDTH - DEFAULT_
TEXT_ COLOR - DEFAULT_
WORD_ SPACING