[][src]Module azul_core::ui_solver

Handles the UI layout and UI layout solver

Structs

ExternalScrollId
InlineTextLayout
InlineTextLine
LayoutResult
LayoutedRectangle

Same as PositionedRectangle, but without the text_layout_options, so that the struct implements Copy.

OverflowingScrollNode
PositionedRectangle
ResolvedOffsets
ResolvedTextLayoutOptions

Same as TextLayoutOptions, but with the widths / heights of the PixelValues resolved to regular f32s (because letter_spacing, word_spacing, etc. may be %-based value)

ScrolledNodes
TextLayoutOptions

Layout options that can impact the flow of word positions

Enums

PositionInfo

Constants

DEFAULT_FONT_COLOR
DEFAULT_FONT_ID
DEFAULT_FONT_SIZE
DEFAULT_FONT_SIZE_PX
DEFAULT_LETTER_SPACING
DEFAULT_LINE_HEIGHT
DEFAULT_TAB_WIDTH
DEFAULT_WORD_SPACING

Functions

calculate_horizontal_shift_multiplier
calculate_vertical_shift_multiplier